Binds the name given in address
to the socket
described by socket
. This has to be done before
a connection is be established using socket_connect()
or socket_listen().
Note:
This function must be used on the socket before
socket_connect().
Note:
Windows 9x/ME compatibility note:
socket_last_error() may return an invalid error code
if trying to bind the socket to a wrong address that does not belong to
your machine.