• Welcome to Valhalla Legends Archive.
 

TCP Connect Error

Started by Yegg, October 25, 2004, 06:52 PM

Previous topic - Next topic

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:

Form1.sckBnet.SendData Chr(1)

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.
- Stealth
Author of StealthBot