On Tue, Aug 10, 2010 at 5:27 AM, Samuel Vinson <samuelv at laposte.net> wrote: > Benny, > > Is it possible to reopen UDP socket when pj_ioqueue_recvfrom/recvfrom... > returns PJ_STATUS_FROM_OS(ENOTCONN) ? > If yes, where is the best place ? > We made a patch for somebody before, to recreate the UDP socket handle inside the ioqueue itself when we have that error. But we haven't tested it ourselves on a real device, so I don't know how it would work. Please find the patch attached. Cheers Benny > Regards > > Samuel > -------------- next part -------------- A non-text attachment was scrubbed... Name: ioqueue_replace_dead_sockets_v1.diff Type: text/x-patch Size: 4982 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100811/c2e21f30/attachment.diff>