Dear All,

I am involved in the development of an application with IPv6

protocol support. I encountered a problem which i will explain .

Suppose i want to connect to a Server Socket through the interface

index X, i have to use the Scope_Id (member of struct sockaddr_in6)as X-1

if the server is running on the same machine as the client runs.

But if the server is running on a different machine, i can connect it with scope index X.

Why does this anomaly happen?

Here X is the index that i got from the rtnetlink calls.

My machine is Redhat 7.2 with only one network interface card.

Please help me with your replies . Also please respond if my query is not clear .

 

Regards

Ciju O. Baby

Reply via email to