What is the use of socketpair()?



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

Post New Answer

More Linux Socket Programming Interview Questions

What is socket abstraction?

0 Answers  


How to Form Local Addresses?

0 Answers  


How TCP/IP Handles Flow Control?

0 Answers  


What is the difference between socket and port?

0 Answers  


How to Specify an X.25 Address?

0 Answers  






Why socket programming is used?

0 Answers  


How to open socket file in linux?

0 Answers  


What are the different types of sockets?

0 Answers  


How to Understand Netmask Values?

0 Answers  


How to Form Traditional Local Addresses?

0 Answers  


What are Reserved IP Numbers?

0 Answers  


How to Test the Datagram Client and Server?

0 Answers  


Categories