From cf1b88ff74b063efb21f89775d4a2c6eb58af8d0 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Mon, 7 Jan 2002 06:10:37 +0000 Subject: [PATCH] Nuke the paragraph that says "One can obtain user connection request data without confirming the connection by issuing a recvmsg(2) [...]". There's no such code in the kernel. PR: 26861 Submitted by: Richard A Steenbergen , Tom Rhodes --- lib/libc/sys/accept.2 | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index badb2b113b4..06b0664bc44 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -115,23 +115,6 @@ request and not implying confirmation. 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.