2008/4/21, Erland Lewin <[EMAIL PROTECTED]>:
> I sent an e-mail asking about UPnP support, didn't get a reply, so now I'm
> looking at implementing it.

Cool. I recall that we had a UPnP implementation, but it was not
compatible with LGPL so it was dropped.

> My plan is to add two tport_vtable_t, one for udp with upnp and one for upnp
> client with upnp. Does that make sense? To start with I'm using the same
> function pointers as for regular UDP, but checking in the functions if UPnP
> is selected.

That sounds reasonable.

After you get response from UPnP NAT (and you know the public IP
address and port numer) you should update the address in tp_addr (and
tp_addrinfo) and call tport_has_been_updated().



-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to