connect man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

CONNECT(2)							    CONNECT(2)

NAME
       connect - connects a socket

SYNOPSIS
       #include <sys/socket.h>

       int connect(int sd, const struct sockaddr * addr, socklen_t addr_len);

DESCRIPTION
       connect() connects the socket sd to a socket listening at address addr.

RETURN VALUES
       On success, this function returns 0. On error, -1 is returned and errno
       is set.

ERRORS
       [EFAULT]	      The address pointed to by addr is not in a valid part of
		      the process address space.

       [EAFNOSUPPORT] The  address family of the address pointed to by addr is
		      not supported by this function.

       [EINVAL]	      The address pointed to by addr is not valid.

       [ENAMETOOLONG] The sun_path in struct sockaddr_un is too long.

       [EACCES]	      The calling process doesn't have permission  to  perform
		      the connect() operation.

       [EISCONN]      The socket is already connected.

       [EALREADY]     The socket is already in the process of connecting.

       [ECONNREFUSED] The connection was refused.

SEE ALSO
       socket(2), accept(2)

								    CONNECT(2)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net