What is the use of socketpair()?
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[0], socket[1], you could perform read and write operation.
Is This Answer Correct ? | 0 Yes | 0 No |
What is socket abstraction?
How to Form Local Addresses?
How TCP/IP Handles Flow Control?
What is the difference between socket and port?
How to Specify an X.25 Address?
Why socket programming is used?
How to open socket file in linux?
What are the different types of sockets?
How to Understand Netmask Values?
How to Form Traditional Local Addresses?
What are Reserved IP Numbers?
How to Test the Datagram Client and Server?