WsKConnect is Failing with error 0xC00000B5 (STATUS_IO_TIMEOUT) for ipv6 address.

I am trying to set up TCP-IP connection with IPV6 address but WskConnect is failing with 0xC00000B5. Has anyone encountered such an error or any guesses what could be reason behind the failure?
I am using following apis:
RtlIpv6StringToAddress - successfully gets the ipv6 address.
WskSocket - create the socket
WskBind - successful
WskConnect - Fails.

Similar calls for IPV4 address is successful.

Thanks,
Ruby

You might carefully examine the IPv6 string. I would suspect that it is
faulty.

I would test the IPv6 address using a system tool like ping -6 address>

Good luck.

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Thursday, March 19, 2015 7:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WsKConnect is Failing with error 0xC00000B5
(STATUS_IO_TIMEOUT) for ipv6 address.

I am trying to set up TCP-IP connection with IPV6 address but WskConnect is
failing with 0xC00000B5. Has anyone encountered such an error or any guesses
what could be reason behind the failure?
I am using following apis:
RtlIpv6StringToAddress - successfully gets the ipv6 address.
WskSocket - create the socket
WskBind - successful
WskConnect - Fails.

Similar calls for IPV4 address is successful.

Thanks,
Ruby


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Hi Thomas,

I have checked wireshark logs and it seems client is sending SYN packet to server so I don’t see anything wrong with the address string. I am able to ping client ipv6 address from server & vice versa.

In wireshark logs I see:

  1. Client sends SYN packet to server ipv6 address.
  2. Server reponds with SYN +ACK packet to client. (Looks like client did not get this packet as it sends SYN packet again to server)
  3. Client sends SYN packet again to server. (TCP spurious retransmission as listed in wireshark logs).
  4. Server reponds with SYN +ACK packet to client.
    5.Client sends SYN packet again to server. (TCP spurious retransmission as listed in wireshark logs).
  5. Server resonds with RST.

I am not sure why client is not getting server’s SYN + ACK packet. Any idea?

Also, do we need to set ipv6 scope id? I am not setting it currently. scope id and flow info is initialized with 0.

Is there way we can increase socket time out?

Thanks,
Ruby

Hi Ruby,
Have you found the reason for the error?
Thanks.
-Hsin