You are here : cpp0connect

connect() - 0

The connect() function requests a connection to be made on a socket.


Syntax

int connect(int socket, const struct sockaddr *address,socklen_t address_len);


Example


Output / Return Value


Limitations

Only for Unix/Linux.


Alternatives / See Also


Reference

http://pubs.opengroup.org/onlinepubs/7908799/xns/connect.html