1 Answers
Option 2 : bind, listen, accept, recv
BIND:
bind () function call binds a unique local name to the socket with descriptor socket. After calling socket (), a descriptor does not have a name associated with it.
LISTEN:
It causes a bound TCP socket to enter the listening state. It waits for the connections to socket.
ACCEPT:
It accepts a connection on a socket.
RECV:
It is used to read incoming data on connection-oriented sockets or connectionless sockets.
4 views
Answered