MonoTests.System.Net.Sockets.SocketTest.ConnectedProperty : Expected: True
But was: False
server.Connected remains true.
Created attachment 2137 [details]
On Mac OS, recv() returns 0 - Linux returns -1 (ECONNRESET).
According to the man pages, recv() should only return 0 when the connection has been closed.
So in theory, checking for that in _wapi_recvfrom() should fix that, but I'm afraid of breaking something.
Closing ancient bugs.