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

k0l0b0k k0l0b0k.void at gmail.com
Sat Jan 31 03:48:41 EST 2009


Anybody can explain this situation?


k0l0b0k wrote:
> 
> 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!
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Thread-safety-of-System.Net.Sockets.Socket-tp21710601p21761142.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list