Answer Posted / 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 |
Post New Answer View All Answers
How to Compare Sockets to Pipes?
What is the Use of the inet_netof() Function?
How to Generate Addresses?
What is AF_UNSPEC Address?
How to Choose a Socket Type?
What is the use of setprotoent(3) Function?
How to test socket connection in linux?
What are the different types of sockets?
What is the use of endprotoent(3) Function
How to Reply to a Wild Address?
How to Form Abstract Local Addresses?
How to Test the Datagram Client and Server?
How TCP/IP Handles Lost Packets?
Why bind system call is required in socket programming?
How TCP/IP Handles Flow Control?