Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 13:02:18 -0400 (EDT)
From:      Don <don@calis.blacksun.org>
To:        BelletJr@aol.com
Cc:        net@freebsd.org
Subject:   Re: connect(2) behavior with unreacheable hosts
Message-ID:  <20030412125908.G4156@calis.blacksun.org>
In-Reply-To: <20030412123544.B4056@calis.blacksun.org>
References:  <134.1e1ff9dc.2bc95035@aol.com> <20030412123544.B4056@calis.blacksun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> ICMP Type 11. If the host does not receive this message, then the only
> thing connect() can do is timeout. In that case connect() should return -1
> and errno should return [ETIMEDOUT] or [ENETUNREACH] (I have no idea which
> one).
Actually if ICMP is not working, it should return [ETIMEDOUT]. If ICMP is
working, I am not sure which of those errno value would be returned. This
is just a guess based on the information in connect(2).

-Don



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412125908.G4156>