PDA

Click to See Complete Forum and Search --> : winsock Help


Gumppy
Nov 28th, 1999, 08:34 AM
For some reason when i run winsock and use

sock1.Connect startip.Text, Module1.Port

I get a error of 40020 'invalid operation at current state' and i dont know why can anyone help?

I appreciate it..

Compwiz
Nov 28th, 1999, 09:07 AM
Before that, put the following:


If Sock1.State <> sckClosed Then Sock1.Close
Sock1.LocalPort = 0


------------------
Tom Young, 14 Year Old
tyoung@stny.rr.com
ICQ: 15743470 (http://wwp.icq.com/15743470) Add Me (http://wwp.icq.com/scripts/search.dll?to=15743470) ICQ Me (http://wwp.icq.com/scripts/contact.dll?msgto=15743470)
AIM: TomY10 (http://www.aol.com/aim/aim30.html)
PERL, JavaScript and VB Programmer

Gumppy
Nov 28th, 1999, 10:14 AM
It still doesnt work when i do put that infront of it..
Any other ideas?