docs/148683: connect(2) man page does not show ECONNRESET error in the list of possible errors

Glen Barber glen.j.barber at gmail.com
Mon Jul 26 23:20:05 UTC 2010


The following reply was made to PR docs/148683; it has been noted by GNATS.

From: Glen Barber <glen.j.barber at gmail.com>
To: bug-followup at FreeBSD.org, gpr at mail.ru
Cc:  
Subject: Re: docs/148683: connect(2) man page does not show ECONNRESET error
 in the list of possible errors
Date: Mon, 26 Jul 2010 19:16:37 -0400

 This is a multi-part message in MIME format.
 --------------050301010102010001070006
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
   Hi,
 
 The attached patch adds ECONNRESET to connect(2).
 
 Regards,
 
 -- 
 Glen Barber
 
 
 --------------050301010102010001070006
 Content-Type: text/plain;
  name="sys.connect2.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="sys.connect2.txt"
 
 Index: 9-CURRENT/lib/libc/sys/connect.2
 ===================================================================
 --- 9-CURRENT/lib/libc/sys/connect.2	(revision 210519)
 +++ 9-CURRENT/lib/libc/sys/connect.2	(working copy)
 @@ -28,7 +28,7 @@
  .\"     @(#)connect.2	8.1 (Berkeley) 6/4/93
  .\" $FreeBSD$
  .\"
 -.Dd August 16, 2006
 +.Dd July 26, 2010
  .Dt CONNECT 2
  .Os
  .Sh NAME
 @@ -95,6 +95,8 @@
  Connection establishment timed out without establishing a connection.
  .It Bq Er ECONNREFUSED
  The attempt to connect was forcefully rejected.
 +.It Bq Er ECONNRESET
 +Remote host reset the connection request.
  .It Bq Er ENETUNREACH
  The network is not reachable from this host.
  .It Bq Er EHOSTUNREACH
 
 --------------050301010102010001070006--



More information about the freebsd-doc mailing list