Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 17:36:05 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        =?iso-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mikko@dynas.se>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Rejecting a connection: is accept(2) correct?
Message-ID:  <20001214173605.A53698@walton.maths.tcd.ie>
In-Reply-To: <Pine.BSF.4.21.0012140905220.336-100000@explorer.rsa.com>; from mikko@dynas.se on Thu, Dec 14, 2000 at 09:12:18AM -0800
References:  <Pine.BSF.4.21.0012140905220.336-100000@explorer.rsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 14, 2000 at 09:12:18AM -0800, Mikko Työläjärvi wrote:

> Is this really true?  A quick experiment with recvmsg() seems to
> indicate it is not, at least not for TCP sockets.

I think this applies after you have accepted the connection.  You
can call getpeername() to choose what to do about the call. You
can immediately close the connection if you don't want to deal with
it.

	David.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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