Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Assigning a name to a socket

&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.