Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what is the difference between EHOSTUNREACH and EHOSTDOWN ?

661 views
Skip to first unread message

Yong

unread,
Apr 28, 2004, 4:43:14 PM4/28/04
to
Hi,

I'm using vxworks 5.3. What's the differences of the errno
EHOSTUNREACH and EHOSTDOWN when connect() fails to connect the other
host? Thanks

Yong

Chris Hann

unread,
Apr 28, 2004, 6:07:34 PM4/28/04
to VxWorks Users Group List
They say that unreachable means there's no network path to that address
but down means that although they can get to the area there's no
response from the destination. At least that's my understanding.

Try google. Aha, a simple google search for

ehostunreach ehostdown "host is"

yields...

http://docsrv.sco.com:507/en/netguide/disockD.error_codes.html

Error Name Description Explanation
EHOSTDOWN Host is down Socket connection. Status information received
by the client host from the underlying communication services indicates
the net or the remote host is down.
EHOSTUNREACH No route to host Socket connection. These operational
errors can occur either because the network or host is unknown (no route
to the host or network is present) or because status information to that
effect has been delivered to the client host by the underlying
communication services.

Yong wrote:

> _______________________________________________
> VxWorks Users Group mailing list
> VxWe...@lbl.gov
> http://www-csg.lbl.gov/vxworks/
>

0 new messages