IPv6 socket working only localy
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > IPv6 socket working only localy




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    IPv6 socket working only localy  
Miha Lesjak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:07 PM

Hello,

I built a small client/server program to test my IPv6 stuff. Everything is
working as it should if i use it localy (localhost). If I run my server on
a different computer than the client, it doesn't work anymore.
IPv4 is working ok in all cases. There is almost no difference between the
code (only in inet_pton and inet_ntop calls and differend addr structures).

Any clues why this would be happening?

Thanks.

LP,
mihal





[ Post a follow-up to this message ]



    Re: IPv6 socket working only localy  
Nils O. examnotes


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:07 PM

In article <8c3716e6.0311130053.7cc3a7f3@posting.google.com>, Miha Lesjak wrote:
quote:
> Hello, > > I built a small client/server program to test my IPv6 stuff. Everything is > working as it should if i use it localy (localhost). If I run my server on > a different computer than the client, it doesn't work anymore. > IPv4 is working ok in all cases. There is almost no difference between the > code (only in inet_pton and inet_ntop calls and differend addr structures) . > > Any clues why this would be happening?
Are there IPv6 routing between these machines. ? And do you account for scopes ?




[ Post a follow-up to this message ]



    Re: IPv6 socket working only localy  
Miha Lesjak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:08 PM

> Are there IPv6 routing between these machines. ? And do you account for
quote:
> scopes ?
Yes, as ping6 and traceroute6 work fine. Account for scopes? What do you mean by that? If you mean setting the interface, I tried the following call before bind(): sin6.sin6_scope_id = if_nametoindex("eth0"); Didn't work though... BTW: I have to set the interface for ping6. Thanks. LP, mihal




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:26 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register