Date: Thu, 10 Apr 2003 15:15:53 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: BelletJr@aol.com Cc: current@freebsd.org Subject: Re: connect(2) behavior with unreacheable hosts Message-ID: <3E95ED19.7512ECF6@mindspring.com> References: <109.225ca595.2bc723f2@aol.com>
next in thread | previous in thread | raw e-mail | index | archive | help
BelletJr@aol.com wrote: > Why does not connect(2) return any error when trying to connect to a host > unreachable because of an infinite loop in the routes? No time-out occurs and > the value 0 is returned by connect(2). > My test was done with TCP/IPv4. Because it can't detect an infinite routing loop. The timeout is the responsibility of the application; see "man alarm" and "man signal" for more information. -- Terry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E95ED19.7512ECF6>