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()?



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

How to Write a UDP Datagram Server?

0 Answers   Infosys,


Why bind system call is required in socket programming ? what is it;s Significance ?

3 Answers   Cavium Networks, IBM,


What is the use of recvfrom(2) Function?

0 Answers  


How to Perform Input/Output of Datagrams?

0 Answers  


How to Write a UDP Datagram Client?

0 Answers  


How to Perform Endian Conversions?

0 Answers  


How to Choose a Socket Type?

0 Answers  


What is socket and how it works?

0 Answers  


HOW TCP/IP Handles Duplicated Packets?

0 Answers  


What is the use of PF_LOCAL and SOCK_STREAM?

0 Answers  


How to Form Abstract Local Addresses?

0 Answers  


How to perform I/O on Sockets?

0 Answers  


Categories