#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:58+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages-posix/man3p/connect.3p:2 #, no-wrap msgid "CONNECT" msgstr "" #. type: TH #: man-pages-posix/man3p/connect.3p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man3p/connect.3p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man3p/connect.3p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man3p/connect.3p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:8 msgid "" "This manual page is part of the POSIX Programmer's Manual. The Linux " "implementation of this interface may differ (consult the corresponding Linux " "manual page for details of Linux behavior), or the interface may not be " "implemented on Linux." msgstr "" #. type: SH #: man-pages-posix/man3p/connect.3p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:12 msgid "connect \\(em connect a socket" msgstr "" #. type: SH #: man-pages-posix/man3p/connect.3p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:16 #, no-wrap msgid "#include Esys/socket.hE\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:19 #, no-wrap msgid "" "int connect(int I, const struct sockaddr *I
,\n" " socklen_t I);\n" msgstr "" #. type: SH #: man-pages-posix/man3p/connect.3p:20 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:26 msgid "" "The I() function shall attempt to make a connection on a " "connection-mode socket or to set or reset the peer address of a " "connectionless-mode socket. The function takes the following arguments:" msgstr "" #. type: IP #: man-pages-posix/man3p/connect.3p:26 #, no-wrap msgid "I" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:28 msgid "Specifies the file descriptor associated with the socket." msgstr "" #. type: IP #: man-pages-posix/man3p/connect.3p:28 #, no-wrap msgid "I
" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:33 msgid "" "Points to a B structure containing the peer address. The length " "and format of the address depend on the address family of the socket." msgstr "" #. type: IP #: man-pages-posix/man3p/connect.3p:33 #, no-wrap msgid "I" msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:39 msgid "" "Specifies the length of the B structure pointed to by the " "I
argument." msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:44 msgid "" "If the socket has not already been bound to a local address, I() " "shall bind it to an address which, unless the socket's address family is " "AF_UNIX, is an unused local address." msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:60 msgid "" "If the initiating socket is not connection-mode, then I() shall " "set the socket's peer address, and no connection is made. For SOCK_DGRAM " "sockets, the peer address identifies where all datagrams are sent on " "subsequent I() functions, and limits the remote sender for subsequent " "I() functions. If the I member of I
is AF_UNSPEC, " "the socket's peer address shall be reset. Note that despite no connection " "being made, the term ``connected'' is used to describe a connectionless-mode " "socket for which a peer address has been set." msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:83 msgid "" "If the initiating socket is connection-mode, then I() shall " "attempt to establish a connection to the address specified by the I
" "argument. If the connection cannot be established immediately and O_NONBLOCK " "is not set for the file descriptor for the socket, I() shall block " "for up to an unspecified timeout interval until the connection is " "established. If the timeout interval expires before the connection is " "established, I() shall fail and the connection attempt shall be " "aborted. If I() is interrupted by a signal that is caught while " "blocked waiting to establish a connection, I() shall fail and set " "I to B<[EINTR]>, but the connection request shall not be aborted, and " "the connection shall be established asynchronously." msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:99 msgid "" "If the connection cannot be established immediately and O_NONBLOCK is set " "for the file descriptor for the socket, I() shall fail and set " "I to B<[EINPROGRESS]>, but the connection request shall not be " "aborted, and the connection shall be established asynchronously. Subsequent " "calls to I() for the same socket, before the connection is " "established, shall fail and set I to B<[EALREADY]>." msgstr "" #. type: Plain text #: man-pages-posix/man3p/connect.3p:107 msgid "" "When the connection has been established asynchronously, I(), " "I