Just out of curiosity, is there any particular reason why in Visual Studio PJSIP compiles ioqueue_select.c in debug and ioqueue_winnt.c in release? It caused us problems when we found our release code was behaving differently, until we noticed that these two files were different for the projects. Mainly because we added a call to getsockname() in our transport callback for on_accept_complete (), which fails for the ioqueue_winnt.c version because the SO_UPDATE_ACCEPT_CONTEXT socket option had not been set yet. Christian Gan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091130/e3a22ff5/attachment.html>