[Bug 9425] Select behavior different on Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 5 09:37:21 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=9425

--- Comment #12 from Ruediger Meier <sweet_f_a at gmx.de> 2012-02-05 09:37:21 CST ---
(In reply to comment #4)
> [...] I'm not sure any real world apps depend on it, after all you
> should only select on a socket when it can receive a change in I/O state.

This is the case with non blocking sockets after calling connect, see

for Linux you need to select the writefds:
1. man 2 connect -> EINPROGRESS

but on Windows writefds and exceptfds:
2.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx
   -> "Use the select function"
3.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx
   -> "Return value"
   and -> "In summary" -> "exceptfds"

which fails on wine.

-- 
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