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.
int bind(int socket, const struct sockaddr *address,socklen_t address_len);
Available for UNIX/Linux Systems.