Fails to connect to ipv6 address using tcp
- From: "Matt Smith" <MattSmith@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 May 2005 09:00:03 -0700
I am creating an application using ipv6 and am trying to connect using tcp.
The application has a client side and a server side. On the
server side, I successfully binded the address and by using netstat, I can
see that it is listening on the specified port.
When I try to connect to the server side from the client, it fails to connect.
On the both the client side and side, I first bind the local
address and port.
This works when I use a ipv4 address.
I am using the sockaddr structure.
The error message says "A connection attempt failed because the connected
party did not properly respond after a period of time, or established
connection failed because connected host has failed to respond."
Does the ipv6 need to be in a certain format?
I am using the getaddrinfo() function to create the address.
Or does anyone have any ideas what I may be doing wrong?
I already checked and made that the correct protocol family and port are
already set.
The application is running on Win XP SP2
Thanks
Matt
.
- Prev by Date: Re: VB.NET SNMP example
- Next by Date: Adapter link speed
- Previous by thread: connect ad-hoc
- Next by thread: Adapter link speed
- Index(es):
Relevant Pages
|