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, socket, you could perform read and write operation.
|Is This Answer Correct ?||0 Yes||0 No|
How to Bind a Specific Interface Address?
How to look up a Service by Port and Protocol?
What is the use of setprotoent(3) Function?
What is the use of SOCK_DGRAM Socket Type?
What is the Use of the inet_makeaddr() Function?
What is the use of endprotoent(3) Function
How to Perform Endian Conversions?
How to Test with Other IP Numbers?
What are the different types of sockets?
How to Initialize a Wild Internet Address?
How TCP/IP Handles Sequencing?
What is the Use of the inet_lnaof() Function?