Date: Wed, 25 Apr 2001 20:44:40 -0400 (EDT) From: ras@e-gerbil.net To: FreeBSD-gnats-submit@freebsd.org Subject: docs/26861: Mistake in accept(2) manpage Message-ID: <20010426004440.DF17AE4A35@overlord.e-gerbil.net>
next in thread | raw e-mail | index | archive | help
>Number: 26861 >Category: docs >Synopsis: accept(2) manpage documents non-existant feature >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 25 17:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Richard A Steenbergen >Release: FreeBSD 4.2-STABLE i386 >Organization: iVMG, Inc. >Environment: >Description: The accept(2) manpage says: One can obtain user connection request data without confirming the con- nection by issuing a recvmsg(2) call with an msg_iovlen of 0 and a non- zero msg_controllen, or by issuing a getsockopt(2) request. Similarly, one can provide user connection rejection information by issuing a sendmsg(2) call providing only the control information, or by calling setsockopt(2). But this is not possible. There is no such code in recvmsg/sendmsg, and no such sockopt. This would be a nice feature, but the handshake on a stream socket should be completed already by the time an accept() call is made... >How-To-Repeat: >Fix: Nuke the offending paragraph... :P >Release-Note: >Audit-Trail: >Unformatted: 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?20010426004440.DF17AE4A35>