Date: Thu, 27 Dec 2001 15:40:02 -0800 (PST) From: Tom Rhodes <darklogik@pittgoth.com> To: freebsd-doc@freebsd.org Subject: Re: docs/26861 accept(2) manpage documents non-existant feature Message-ID: <200112272340.fBRNe2894678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/26861; it has been noted by GNATS. From: Tom Rhodes <darklogik@pittgoth.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112272340.fBRNe2894678>