|
-
Nov 14th, 2002, 07:14 PM
#1
Thread Starter
Addicted Member
winsock help
it keeps on putting this error (in yellow of course)
--> WinSockCtl.Close
why is that? do i need to post the code?
-
Nov 14th, 2002, 07:15 PM
#2
Good Ol' Platypus
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.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 14th, 2002, 07:22 PM
#3
Thread Starter
Addicted Member
still doesnt work... but what should i put for ' whatever '
-
Nov 15th, 2002, 06:28 PM
#4
Thread Starter
Addicted Member
-
Nov 16th, 2002, 03:04 PM
#5
New Member
Code:
winsock1.disconnect 'will take care of what you want.
winsock1.state = 0 'means closed
winsock1.state = 7 'means unused (disconnected)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|