it keeps on putting this error (in yellow of course)
--> WinSockCtl.Close
why is that? do i need to post the code?
Printable View
it keeps on putting this error (in yellow of course)
--> WinSockCtl.Close
why is that? do i need to post the code?
Yes, you should :) But, I think Winsock would want you to wait for it to finish executing (check its state in a loop, like Do... Loop Until Winsock.State = whatever) before you close it.
still doesnt work... but what should i put for ' whatever '
bump....... cmon guyss
Code:winsock1.disconnect 'will take care of what you want.
winsock1.state = 0 'means closed
winsock1.state = 7 'means unused (disconnected)