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
What is the difference between socket & port?
What is the difference between socket and port?
how to get client port number in server socket programming??
What is AF_UNSPEC Address?
What are sockets in linux?
What is the Use of the inet_netof() Function?
What is socket and how it works?
How to test socket connection in linux?
How TCP/IP Handles Sequencing?
What does socket consist of?
How to perform I/O on Sockets?
How to Understand Netmask Values?
How to Test with Other IP Numbers?
What is the use of PF_INET and SOCK_DGRAM?
What is the use of endprotoent(3) Function