Valhalla Legends Forums Archive | Visual Basic Programming | TCP Connect Error

AuthorMessageTime
Yegg
Ok, im not sure why but whenever i try connecting through TCPConnection, i get the following error:

Run-time Error '40006':

Wrong protocol or connection state for the requested transaction or request

When i hit Debug, the line of code that has the error is:

[code]Form1.sckBnet.SendData Chr(1)[/code]
October 25, 2004, 11:52 PM
Stealth
Most likely you tried to send information while the socket wasn't connected. You'll have to go into more detail about the situation if you want any more complicated help.
October 26, 2004, 1:25 AM

Search