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

How to Compare Sockets to Pipes?

1346


What is the Use of the inet_netof() Function?

1259


How to Generate Addresses?

1311


What is AF_UNSPEC Address?

2241


How to Choose a Socket Type?

1280


What is the use of setprotoent(3) Function?

1563


How to test socket connection in linux?

962


What are the different types of sockets?

893


What is the use of endprotoent(3) Function

1681


How to Reply to a Wild Address?

1605


How to Form Abstract Local Addresses?

1360


How to Test the Datagram Client and Server?

1430


How TCP/IP Handles Lost Packets?

1621


Why bind system call is required in socket programming?

805


How TCP/IP Handles Flow Control?

1580