What is the use of socketpair()?
Answer / karnveer singh
socketpair can used when parent child process wants to communicate, while using socketpair you dont need to use the name socket for example, no need to use bind , connect and etc.
On simply returned socket descriptor assume socket[0], socket[1], you could perform read and write operation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are Anonymous Calls?
What is the use of SOCK_STREAM Socket Type?
What is the Use of the inet_makeaddr() Function?
What is the use of endprotoent(3) Function
How socket is created?
What are the different types of sockets?
How to Perform Input/Output of Datagrams?
What are Private IP Numbers?
What is socket and how it works?
What are the Advantages of TCP/IP?
What is socket connection?
What is the use of inet_network()?