EDN Admin
Well-known member
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
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