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

gelin yan dynamicgl at gmail.com
Wed Oct 5 02:19:20 EDT 2011


Hi ykm

   Have you used async socket for production purpose? I have tried the new
async socket with mono 2.8 unfortunately, it didn't work well. In other
words, it was unable to perform like .net on windows.

On Sat, Oct 1, 2011 at 1:07 PM, ykm <ykmmumbai at gmail.com> wrote:

> 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.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111005/676f442f/attachment-0001.html 


More information about the Mono-devel-list mailing list