Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 21:56:25 -0800 (PST)
From:      rfg@monkeys.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/33081: send(2) sometimes yields ECONNREFUSED, but it's not documented
Message-ID:  <20011222055625.AE4296399@segfault.monkeys.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011222055625.AE4296399>