diff options
Diffstat (limited to '')
-rw-r--r-- | man2/connect.2 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/man2/connect.2 b/man2/connect.2 index abd9e87..ad8888a 100644 --- a/man2/connect.2 +++ b/man2/connect.2 @@ -16,7 +16,7 @@ .\" Modified 1998, 1999 by Andi Kleen .\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com> .\" -.TH connect 2 2023-03-30 "Linux man-pages 6.05.01" +.TH connect 2 2023-11-01 "Linux man-pages 6.7" .SH NAME connect \- initiate a connection on a socket .SH LIBRARY @@ -25,7 +25,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <sys/socket.h> -.PP +.P .BI "int connect(int " sockfd ", const struct sockaddr *" addr , .BI " socklen_t " addrlen ); .fi @@ -47,7 +47,7 @@ is determined by the address space of the socket see .BR socket (2) for further details. -.PP +.P If the socket .I sockfd is of type @@ -63,18 +63,18 @@ or this call attempts to make a connection to the socket that is bound to the address specified by .IR addr . -.PP +.P Some protocol sockets (e.g., UNIX domain stream sockets) may successfully .BR connect () only once. -.PP +.P Some protocol sockets (e.g., datagram sockets in the UNIX and Internet domains) may use .BR connect () multiple times to change their association. -.PP +.P Some protocol sockets (e.g., TCP sockets as well as datagram sockets in the UNIX and Internet domains) @@ -104,7 +104,9 @@ in the path prefix. (See also .BR path_resolution (7).) .TP -.BR EACCES ", " EPERM +.B EACCES +.TQ +.B EPERM The user tried to connect to a broadcast address without having the socket broadcast flag enabled or the connection request failed because of a local firewall rule. @@ -216,7 +218,7 @@ be very long when syncookies are enabled on the server. POSIX.1-2008. .SH HISTORY POSIX.1-2001, SVr4, 4.4BSD, -.RB (connect () +.RB ( connect () first appeared in 4.2BSD). .\" SVr4 documents the additional .\" general error codes |