http://bugs.winehq.org/show_bug.cgi?id=9425
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com 2012-02-05 12:00:01 CST --- (In reply to comment #10)
Wine's select will return immediately with 0 which should only be returned after really timeouting!
Window's would return 0 after the specified timeout.
Are you sure about this? If you try to connect to a closed port (in a host without firewall) the socket will receive the RST flag and windows will return as immediately as other systems. And if you try to connect to a non-existent host (or the port is closed and the host has a firewall) the connection attempt will return after the configured timeout value.
Thanks for the testing code, I'll try it as soon as I have time.