[Mono-dev] Socket.Accept() causes + Stopped
ykmmumbai at gmail.com
Sat Oct 1 01:07:13 EDT 2011
It seems from your code that you are using the synchronous socket methods to
accept a socket. These sockets block their thread until the actions
requested from them are completed. Is This the reason why it appears that
your application has hanged?
I will advise you to use the asynchronous methods of BeginAccept and
EndAccept for in your code.
Hope this helps.
View this message in context: http://mono.1490590.n4.nabble.com/Socket-Accept-causes-1-Stopped-tp3847351p3862154.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list