Re: [Sofia-sip-devel] IPv6 Link Address Bind Fail

2009-02-12 Thread Pekka Pessi
2009/2/12 Jerry Richards : > Thank You. Adding the following line just prior to the bind() call in > tport_bind_socket() did the trick. The bind succeeds when passing it the > IPv6 Link Address or the IPv6 Global Address. > > su->su_sin6.sin6_scope_id = (unsigned long)if_nametoindex("esw0"); Coo

Re: [Sofia-sip-devel] IPv6 Link Address Bind Fail

2009-02-11 Thread Jerry Richards
e.net Subject: Re: [Sofia-sip-devel] IPv6 Link Address Bind Fail 2009/2/11 Jerry Richards : > Anyone know why sofia-sip's tport UDP bind() invocation is happy if I > use the phone's IPv6 Global address, but gets an error (Invalid > Argument) when I use the phone's IPv6 L

Re: [Sofia-sip-devel] IPv6 Link Address Bind Fail

2009-02-11 Thread Pekka Pessi
2009/2/11 Jerry Richards : > Anyone know why sofia-sip's tport UDP bind() invocation is happy if I use > the phone's IPv6 Global address, but gets an error (Invalid Argument) when I > use the phone's IPv6 Link address? You should somehow tell bind(2) which interface to use (don't ask me why; there