connect.2 (165903) | connect.2 (212269) |
---|---|
1.\" Copyright (c) 1983, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)connect.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1983, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)connect.2 8.1 (Berkeley) 6/4/93 |
29.\" $FreeBSD: head/lib/libc/sys/connect.2 165903 2007-01-09 00:28:16Z imp $ | 29.\" $FreeBSD: head/lib/libc/sys/connect.2 212269 2010-09-06 21:39:54Z gjb $ |
30.\" | 30.\" |
31.Dd August 16, 2006 | 31.Dd September 5, 2010 |
32.Dt CONNECT 2 33.Os 34.Sh NAME 35.Nm connect 36.Nd initiate a connection on a socket 37.Sh LIBRARY 38.Lb libc 39.Sh SYNOPSIS --- 50 unchanged lines hidden (view full) --- 90.It Bq Er EAFNOSUPPORT 91Addresses in the specified address family cannot be used with this socket. 92.It Bq Er EISCONN 93The socket is already connected. 94.It Bq Er ETIMEDOUT 95Connection establishment timed out without establishing a connection. 96.It Bq Er ECONNREFUSED 97The attempt to connect was forcefully rejected. | 32.Dt CONNECT 2 33.Os 34.Sh NAME 35.Nm connect 36.Nd initiate a connection on a socket 37.Sh LIBRARY 38.Lb libc 39.Sh SYNOPSIS --- 50 unchanged lines hidden (view full) --- 90.It Bq Er EAFNOSUPPORT 91Addresses in the specified address family cannot be used with this socket. 92.It Bq Er EISCONN 93The socket is already connected. 94.It Bq Er ETIMEDOUT 95Connection establishment timed out without establishing a connection. 96.It Bq Er ECONNREFUSED 97The attempt to connect was forcefully rejected. |
98.It Bq Er ECONNRESET 99The connection was reset by the remote host. |
|
98.It Bq Er ENETUNREACH 99The network is not reachable from this host. 100.It Bq Er EHOSTUNREACH 101The remote host is not reachable from this host. 102.It Bq Er EADDRINUSE 103The address is already in use. 104.It Bq Er EFAULT 105The --- 65 unchanged lines hidden --- | 100.It Bq Er ENETUNREACH 101The network is not reachable from this host. 102.It Bq Er EHOSTUNREACH 103The remote host is not reachable from this host. 104.It Bq Er EADDRINUSE 105The address is already in use. 106.It Bq Er EFAULT 107The --- 65 unchanged lines hidden --- |