how to release udp socket

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

 



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.

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