""".BR "ESTABLISHED"
"""TCP state.
An mtcp_connect () call takes an additional argument named "mctx" that represents the per-core mTCP context in an application (see mtcp_create_context() for details). The user is expected to use a specific <srcipaddr, srctcpport, destipaddr, desttcpport> tuple which ensures that bidirectional traffic of the connection is handled by the same "mctx" context. See "mtcp_init_rss()" man page for details. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
15 "EAFNOSUPPORT" The size of the "addrlen" argument passed is invalid.
15 "EALREADY" The socket referred to by "sockid" descriptor is already connected (with a TCP state < "ESTABLISHED") to a peer endpoint.
15 "EBADF" "sockid" is not a valid socket descriptor for creating a connection.
15 "EFAULT" The "addr" argument passed is NULL.
15 "EINVAL" Connection request for the given "addr" is invalid (due to incorrect <addr,port>-to-NIC_queue binding).
15 "EISCONN" The socket referred to by "sockid" descriptor already has an established connection with a peer endpoint.
15 "ENOMEM" Connection failed due to insufficient memory.
15 "ENOTSOCK" The socket referred to by "sockid" does not have a valid socket type.
15
"ETIMEDOUT" Connection failure due to TCP timeout.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"""".SH CONFORMING TO
""""POSIX.1-2001.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""