[Bug 9425] Select behavior different on Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 5 12:00:01 CST 2012


--- Comment #15 from Bruno Jesus <00cpxxx at 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.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list