how to release udp socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080717/669ed281/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux