Hi All,

I'm seeing a rare hang in Socket.ReceiveFrom() where the receive timeout isn't 
respected. What's also odd is then on the server side once this wedge occurs 
the server gets the same packet that had been sent to it over and over and it 
keeps responding to it endlessly - but the client never returns from 
ReceiveFrom(). This is in a test sending packets over localhost between two 
threads.

Then, if I switch to use Socket.Connect(), Socket.Send(), and Socket.Receive() 
instead the problem doesn't occur. Appears to only get me if I use the 
SendTo/ReceiveFrom variants, which I gather are more commonly used for UDP 
sockets.

I filed a bug with a test app to reproduce it, but wanted to mention it in case 
anyone else has run into this already or can point out if I'm doing something 
incorrectly:
https://bugzilla.xamarin.com/show_bug.cgi?id=39332

Reproduced this with mono 4.0.4.1, 4.2.2.30, and 4.3.2.467 on Ubuntu 14.04.1

Best,
David

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to