want same behavior as ipv4(scope_id)

2006-10-01 Thread Amrit Soni
Hi, I've ported my application to IPv6. I open socket/bind to ethernet interface(scope id=2,eth0) but it doesn't work if i run two instances of my application on the same machine. I'm using redhat9 linux. If i assign scope_id to 0(loopback i/f) then it works only on my machine. But in IPv4

Re: want same behavior as ipv4(scope_id)

2006-10-01 Thread Rémi Denis-Courmont
N.B.: I think it would be more appropriate to discuss this on usagi-users than an IETF mailing list... Le dimanche 1 octobre 2006 21:36, Amrit Soni a écrit : I've ported my application to IPv6. I open socket/bind to ethernet interface(scope id=2,eth0) but it doesn't work if i run two instances

Re: Re: want same behavior as ipv4(scope_id)

2006-10-01 Thread Amrit Soni
Thanks for the prompt reply. sorry it was 1 for loopback interface. But when i keep scope_id as 0, it returns error while binding. What should i assign to scope id so that it can work for both loopback as well as for ethernet interface. I'm not using getaddrinfo() api. On Mon, 02 Oct 2006