Click to See Complete Forum and Search --> : Urgent Help! Winsock Problem


lamckh
September 9th, 1999, 03:27 AM
I have an application using winsock to UNIX but I find that when it execute "connect(Socket, sockaddr, int)", it sometimes hanged. What does it mean?
And Can I use timeout to stop it? What is the method?
Thanks in advance

men soeng
September 9th, 1999, 04:28 AM
Try using Winsock 2, Winsock 2 support timeout, but it's difficult to use.

September 9th, 1999, 05:19 AM
create an object which is derived from CAsycSocket and set for events