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 setservent(3) Function?
How to Test the Datagram Client and Server?
How to Allocate IP Addresses?
How to Form Abstract Local Addresses?
What are the Advantages of TCP/IP?
What is the use of setprotoent(3) Function?
What are the different types of sockets?
What is the use of inet_network()?
What is the use getservent(3)?
What is socket linux?
What is the use of PF_INET or AF_INET?
How to Deal with Duplicated Sockets?
Can you send and receive on the same socket at the same time?
How to use the PF_LOCAL and AF_LOCAL Macros?
How to Bind a Specific Interface Address?