http://bugs.winehq.org/show_bug.cgi?id=21387
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com 2011-08-04 22:13:49 CDT --- Created an attachment (id=35813) --> (http://bugs.winehq.org/attachment.cgi?id=35813) 2 tests for MSG_PEEK
I have added two different tests, when the socket is connected and when it's not. Doing that I found an inconsistency that I addressed using a todo_wine.
On windows XP trying a recv on a closed socket returns WSAENOTCONN, on wine it returns WSAEBADF.