Date: Thu, 5 May 2005 19:39:02 -0700 (PDT) From: Brian Buchanan <bwb@holo.org> To: "J.R. Oldroyd" <fbsd@opal.com> Cc: freebsd-current@freebsd.org Subject: Re: async connect problem Message-ID: <20050505193739.Y36831@thought.holo.org> In-Reply-To: <20050506023318.GK51983@linwhf.opal.com> References: <20050506023318.GK51983@linwhf.opal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 May 2005, J.R. Oldroyd wrote: > Isn't our behaviour wrong... > > On 6-current, the program below prints: > connect: Connection refused > > Shouldn't it print: > connect: Operation now in progress No, that's the correct behavior. The system was able to satisfy your request without blocking because you were attempting a connection to the loopback, so connect() returned immediately with errno == ECONNREFUSED. - Brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505193739.Y36831>