From owner-freebsd-doc Wed Apr 25 17:50: 7 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 4C2BE37B43C for ; Wed, 25 Apr 2001 17:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3Q0o1e95194; Wed, 25 Apr 2001 17:50:01 -0700 (PDT) (envelope-from gnats) Received: from overlord.e-gerbil.net (e-gerbil.net [207.91.110.247]) by hub.freebsd.org (Postfix) with ESMTP id F103B37B422 for ; Wed, 25 Apr 2001 17:44:41 -0700 (PDT) (envelope-from ras@e-gerbil.net) Received: by overlord.e-gerbil.net (Postfix, from userid 1001) id DF17AE4A35; Wed, 25 Apr 2001 20:44:40 -0400 (EDT) Message-Id: <20010426004440.DF17AE4A35@overlord.e-gerbil.net> Date: Wed, 25 Apr 2001 20:44:40 -0400 (EDT) From: ras@e-gerbil.net Reply-To: ras@e-gerbil.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/26861: Mistake in accept(2) manpage Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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