[Mono-dev] Thread safety of System.Net.Sockets.Socket

k0l0b0k.void k0l0b0k.void at gmail.com
Wed Jan 28 12:33:00 EST 2009


Hi guys, I have little question: MSDN documentation tells that any 
instance member of Socket class is thread-safe 
(http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx). 
  But according to Mono documentation 
(http://www.go-mono.com/docs/index.aspx?link=T%3ASystem.Net.Sockets.LingerOption) 
Socket members is not thread-safe.
Is it real? Should I synchronize Socket operations manually? (in 
particular I'm interesting in ReceiveFrom and SentTo methods on UDP socket).

Thanks in advance!


More information about the Mono-devel-list mailing list