|
-
October 24th, 2001, 12:27 PM
#1
Winsock control and asynchronous
I am using the standart Winsock control provided in Vb6 to connect to other hosts on the net, but each connect freezes the application, is there a method in which I can make the Winsock control to asynchronous communication ? It really looks bad when the application freezes just to resolve a host name, what can I do ?
tia
-
October 24th, 2001, 03:17 PM
#2
Re: Winsock control and asynchronous
The WinSock control is an asynchronous Control (the events are fired when a conneciton is made, data is received, etc).
Check that you have the right Service Pack installed (NT4 SP6 fixed some WinSock problems). Check that your IP settings are correct.
You can also use the getsockopt and setsockopt APIs to tweak the socket (check MSDN, Winsock 2 reference).
I prefer using Winsock API functions instead (yep, I like getting dirty).
Mail me, send Private Message, if you're still struggling.
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
|