[SIPForum-discussion] Parsing the Port Number using C language

andre heller andre.heller1 at gmx.de
Mon Jan 10 16:07:26 UTC 2011


hi all,
I am struck with a problem of how to get out the port number from SDP which i receive from the Server side, especially from this data "m=audio 19826 RTP/AVP 0 8", is there a way how i can parse the Port Number(for example in this case the i need to parse out 19826) using C language. Since I receive data from my Server with the details about the SDP, I need to parse out the Port Number, which I need to use for sending my media data.

Regards,
Andre
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone



More information about the discussion mailing list