https://bugs.winehq.org/show_bug.cgi?id=47560
--- Comment #1 from Øystein Sture oysstu@gmail.com --- Created attachment 64949 --> https://bugs.winehq.org/attachment.cgi?id=64949 Code that reproduces issue
Set the IP in the .cpp file to an IP that does not respond to reproduce. Windows returns getpeername successfully, while Linux/Wine returns "not connected".