Loading...
Select Version
&pagelevel(3)&pagelevel
A socket created with s=socket() initially has no name. The socket must therefore be assigned a name, i.e. a local address. Not until this has been done can partners address the socket and socket users set up connections and send and/or receive data. You bind a name to the socket, i.e. you assign the socket a local address, with the bind() function.