[Mono-dev] Socket.Accept() causes [1]+ Stopped

ykm ykmmumbai at gmail.com
Sat Oct 1 01:07:13 EDT 2011


Hi DJL,
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.
Regards,
ykm.

--
View this message in context: http://mono.1490590.n4.nabble.com/Socket-Accept-causes-1-Stopped-tp3847351p3862155.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list