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 the difference between fork() & exec()
11 Answers Subex, University Exams, Yahoo,
What is socket abstraction?
How to Initialize a Wild Internet Address?
What is the difference between socket and port?
What is the Use of the inet_lnaof() Function?
How to Bind a Specific Interface Address?
What is the difference between socket & port?
Can a socket have multiple connections?
What are the different types of sockets?
How do udp sockets work?
How TCP/IP Handles Sequencing?
What is the use of endprotoent(3) Function