Add ECONNRESET to list of possible errors in connect(2).

PR:		148683
Submitted by:	Gennady Proskurin <gpr at mail dot ru>
Approved by:	keramida (mentor)
MFC after:	1 week
This commit is contained in:
Glen Barber 2010-09-06 21:39:54 +00:00
parent f5447a3079
commit 1bc1532c36

View File

@ -28,7 +28,7 @@
.\" @(#)connect.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
.Dd August 16, 2006
.Dd September 5, 2010
.Dt CONNECT 2
.Os
.Sh NAME
@ -95,6 +95,8 @@ The socket is already connected.
Connection establishment timed out without establishing a connection.
.It Bq Er ECONNREFUSED
The attempt to connect was forcefully rejected.
.It Bq Er ECONNRESET
The connection was reset by the remote host.
.It Bq Er ENETUNREACH
The network is not reachable from this host.
.It Bq Er EHOSTUNREACH