Yes. Please see my test program in attachment. It was ok for 0.8.0 release when using pjmedia_transport_udp_close func. But This func is removed at 0.9.0 release. I try to replace it with transport close func, but it fail. regards, Gang On Fri, Jul 18, 2008 at 1:02 AM, Benny Prijono <bennylp at pjsip.org> wrote: > On Thu, Jul 17, 2008 at 12:16 PM, Gang Lau <gangban.lau at gmail.com> wrote: > >> Hi, >> I am using pjmedia_transport_close to release UDP transport.But the udp >> socket is still there when using "netstat -na " to have a check. >> >> > Are you sure about that? It doesn't happen here. > > Cheers > Benny > > > >> status = pjmedia_transport_close(channel->transport); >> channel->transport = NULL; >> if (status != PJ_SUCCESS) >> { >> logging(THIS_FILE, VOXVE_LOG_WARN, "Error close >> transport", status); >> hasError = true; >> } >> >> I am using vs 2005 at windows XP and pjsip 0.9.0 release. >> >> regards, >> Gang >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080718/4d5be298/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: transport_udp_test.cpp Url: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080718/4d5be298/attachment-0001.pl