http://bugs.winehq.org/show_bug.cgi?id=9425
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com 2012-02-05 13:14:39 CST --- In your test code there are 2 wrong behaviors, wine shows both of them while windows shows only the correct behavior?
Wine used to set the write FD wrongly if connection was refused but this was fixed.