From owner-freebsd-doc Thu Dec 27 15:40:10 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 73FF737B417 for ; Thu, 27 Dec 2001 15:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBRNe2894678; Thu, 27 Dec 2001 15:40:02 -0800 (PST) (envelope-from gnats) Date: Thu, 27 Dec 2001 15:40:02 -0800 (PST) Message-Id: <200112272340.fBRNe2894678@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Tom Rhodes Subject: Re: docs/26861 accept(2) manpage documents non-existant feature Reply-To: Tom Rhodes Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/26861; it has been noted by GNATS. From: Tom Rhodes To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: docs/26861 accept(2) manpage documents non-existant feature Date: Thu, 27 Dec 2001 17:14:27 -0500 Richard is right, this feature is non-existant. I'm supplying a patch for the man-page, please review and comment/commit whatever. Thanks Tom Rhodes www.Pittgoth.com www.FreeBSD.org *** accept.2.old Thu Dec 27 16:25:33 2001 --- accept.2 Thu Dec 27 17:07:41 2001 *************** *** 115,137 **** Confirmation can be implied by a normal read or write on the new file descriptor, and rejection can be implied by closing the new socket. - .Pp - One can obtain user connection request data without confirming - the connection by issuing a - .Xr recvmsg 2 - call with an - .Fa msg_iovlen - of 0 and a non-zero - .Fa msg_controllen , - or by issuing a - .Xr getsockopt 2 - request. - Similarly, one can provide user connection rejection information - by issuing a - .Xr sendmsg 2 - call providing only the control information, - or by calling - .Xr setsockopt 2 . .Sh RETURN VALUES The call returns \-1 on error. If it succeeds, it returns a non-negative integer that is a descriptor for the accepted socket. --- 115,120 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message