I ported my socket code from Linux to windows which uses a non blocking
TCP socket to concurrently check 5 nodes but am facing the following
problem
struct timeval time_out;
time_out.tv_sec = 0;
time_out.tv_usec = 0;
select(maxfd+1, &tset, &wset, NULL, &time_out);
where the second and the third arguments contain the read and write fds
with all the socket numbers with it and fourth argument is the timeout
now the problem is that the select function runs fine in Liunx and
returns the number of nodes that are alive but in windows it always
returns a timeout i.e. the value returned is always 0.
can anybody help me out with the reason for that e.g. is this a
firewall problem etc
thanks in advance
Hamid
please help me out !
thanks in advance
can somebody help me out about
thanks and best regards