From owner-freebsd-doc Fri Dec 21 22: 0: 8 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 A70AF37B419 for ; Fri, 21 Dec 2001 22:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBM601E57331; Fri, 21 Dec 2001 22:00:01 -0800 (PST) (envelope-from gnats) Received: from segfault.monkeys.com (246.dsl6660157.rstatic.surewest.net [66.60.157.246]) by hub.freebsd.org (Postfix) with ESMTP id 1D38237B416 for ; Fri, 21 Dec 2001 21:56:31 -0800 (PST) Received: by segfault.monkeys.com (Postfix, from userid 1237) id AE4296399; Fri, 21 Dec 2001 21:56:25 -0800 (PST) Message-Id: <20011222055625.AE4296399@segfault.monkeys.com> Date: Fri, 21 Dec 2001 21:56:25 -0800 (PST) From: rfg@monkeys.com Reply-To: rfg@monkeys.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/33081: send(2) sometimes yields ECONNREFUSED, but it's not documented 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 >Number: 33081 >Category: docs >Synopsis: send(2) sometimes yields ECONNREFUSED, but it's not documented >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: Fri Dec 21 22:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 4.3-RELEASE i386 >Organization: Infinite Monkeys & Co. >Environment: FreeBSD 4.3-RELEASE >Description: Using send(2) on a previously connected DGRAM socket, I am getting an error result with error set to ECONNREFUSED, but this possible result isn't documented on the send(2) man page. >How-To-Repeat: Create a DGRAM socket and connect it to some host/port that doesn't have anything bound to that port, and that has nothing which will be listening for incoming UDP datagrams on that port. Then just use send(2) to try to send a packet to that host/port and check errno afterwards. >Fix: Edit the ERRORS section of the send(2) man page to indicate that an ECONNREFUSED value in errno is a possible outcome of a call to send(2) (and maybe also the other functions described on this page). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message