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 use the socket(2) Function?
Can a socket have multiple connections?
What are the Advantages of TCP/IP?
How to Allocate IP Addresses?
What is the Use of the inet_makeaddr() Function?
What is the use of endprotoent(3) Function
How to Test with Other IP Numbers?
How to Specify an X.25 Address?
How to Reply to a Wild Address?
how to get client port number in server socket programming??
How to Test with No Server?
How to Manipulate IP Numbers?
What is socket and how it works?
How to look up a Service by Port and Protocol?
What is socket linux?