Winsock Error Codes - Brought to you by Winsock-Error.com

10065 "No route to host."

WSAEHOSTUNREACH (Winsock error number: 10065)

Microsoft say this about Winsock error 10065 - WSAEHOSTUNREACH:

A socket operation was attempted to an unreachable host. See WSAENETUNREACH.

Full details of Winsock TCP error 10065 - WSAEHOSTUNREACH:

Berkeley description: A socket operation was attempted to an unreachable host.

WinSock description: Same as Berkeley. Unlike Berkeley, however, WinSock v1.1 doesn't ascribe this error to any functions. In it's place, WinSock uses the error WSAENETUNREACH, exclusively.

TCP/IP scenario: In BSD-compatible implementations, the local network system generates this error if there isn't a default route configured. Typically, though, WinSock generates WSAENETUNREACH when it receives a "host unreachable" ICMP message from a router instead of WSAEHOSTUNREACH. The ICMP message means that the router can't forward the IP datagram, possibly because it didn't get a response to the ARP request (which might mean the destination host is down).

User suggestions: see WSAENETUNREACH for details

See also: WSAENETUNREACH

   
This page is designed to help you to understand Winsock TCP error 10065. It will not necessarily mean you can instantly fix issues when your computer tells you that Winsock is having problems with code 10065, rather it will give you the necessary background information to help solve the matter.

Programming declarations for 10065 (WSAEHOSTUNREACH):

C#
long WSAEHOSTUNREACH = 10065 ;

VB.net
Dim WSAEHOSTUNREACH As Long = 10065

VB6
Dim WSAEHOSTUNREACH As Long
WSAEHOSTUNREACH = 10065