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 use of PF_INET and SOCK_DGRAM?
How to Form Traditional Local Addresses?
Are sockets full duplex?
How to Write a UDP Datagram Server?
What is socket and how it works?
Are sockets bidirectional?
How to Test with Other IP Numbers?
HOW TCP/IP Handles Duplicated Packets?
What is the use of inet_addr() Function?
How to Specify the Domain of a Socket?
What are sockets in linux?
How to Bind Addresses to a Socket?
What is the use of PF_LOCAL and SOCK_STREAM?
Are udp sockets bidirectional?
How to Define a Socket?