I think I read something about that should be changed and reverted to old select, anyway that function has a problem in the actual implementation. When you have a socket that is signaled for readable but not writable, what happen to me is that the poll slow down because that piece of code:
if ((remainingTime > 0) && (rc > 0) && !hasSignaledFDs())
{
rc = -1;
WSASetLastError(WSAEINTR);
}
I commented it out for now, but I'm trying to change hasSignaledFDs to do the job, in the meanwhile take care that function make slow down network exchange
I think I read something about that should be changed and reverted to old select, anyway that function has a problem in the actual implementation. When you have a socket that is signaled for readable but not writable, what happen to me is that the poll slow down because that piece of code:
I commented it out for now, but I'm trying to change hasSignaledFDs to do the job, in the meanwhile take care that function make slow down network exchange