You are here : Csys/socket.hbind

bind() - sys/socket.h

The bind() function assigns an address to an unnamed socket. Sockets created with socket() function are initially unnamed; they are identified only by their address family.


Syntax

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


Example


Output / Return Value


Limitations

Available for UNIX/Linux Systems.


Alternatives / See Also


Reference