X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..3903760236c30e3b5ace7a4eefac3a269d68957c:/bsd/man/man2/connect.2 diff --git a/bsd/man/man2/connect.2 b/bsd/man/man2/connect.2 index 8b32e6c2c..c5a06d674 100644 --- a/bsd/man/man2/connect.2 +++ b/bsd/man/man2/connect.2 @@ -33,7 +33,7 @@ .\" .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" -.Dd June 4, 1993 +.Dd March 18, 2015 .Dt CONNECT 2 .Os BSD 4.2 .Sh NAME @@ -74,7 +74,9 @@ only once; datagram sockets may use .Fn connect multiple times to change their association. Datagram sockets may dissolve the association -by connecting to an invalid address, such as a null address +by calling +.Xr disconnectx 2 , +or by connecting to an invalid address, such as a null address or an address with the address family set to .Dv AF_UNSPEC @@ -176,6 +178,9 @@ that is bound to the specified peer address. .\" ========== .It Bq Er ETIMEDOUT Connection establishment timed out without establishing a connection. +.\" ========== +.It Bq Er ECONNRESET +Remote host reset the connection request. .El .Pp The following errors are specific to connecting names in the UNIX domain. @@ -217,6 +222,8 @@ The include file is necessary. .Sh SEE ALSO .Xr accept 2 , +.Xr connectx 2 , +.Xr disconnectx 2 , .Xr getsockname 2 , .Xr select 2 , .Xr socket 2 ,