socket hang on 64 bit OS

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all,

code snipper:


fd_set fdset;
struct timeval maxtimeval;

FD_ZERO(&fdset);
FD_SET(Socket_ssl, &fdset);

maxtimeval.tv_sec = 86400;//24 hours

int result = select(FD_SETSIZE, &fdset, NULL, NULL, &maxtimeval);

My vc++ 6.0 application gets hang at select statment for dedicated ssl connection to web service at 443 port.

I am running this application in two machiens.(xp 32 bit sp3 and xp 64 bit sp2). Its working fine on xp 32 bit but not on xp 64 bit.

what is the maximum time out for socket?

Thanks in advance.


regards,
coolstuff1.
<br/>

View the full article
 
Back
Top