Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of socketpair()?

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


Please Help Members By Posting Answers For Below Questions

What is the setservent(3) Function?

1576


How to Test the Datagram Client and Server?

1493


How to Allocate IP Addresses?

1609


How to Form Abstract Local Addresses?

1426


What are the Advantages of TCP/IP?

1637


What is the use of setprotoent(3) Function?

1626


What are the different types of sockets?

948


What is the use of inet_network()?

1503


What is the use getservent(3)?

1570


What is socket linux?

873


What is the use of PF_INET or AF_INET?

1618


How to Deal with Duplicated Sockets?

1557


Can you send and receive on the same socket at the same time?

859


How to use the PF_LOCAL and AF_LOCAL Macros?

1600


How to Bind a Specific Interface Address?

1648