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 are Sockets?



What are Sockets?..

Answer / chaitanya

Sockets are just like "worm holes" in science fiction. When things go into one end, they (should) come out of the other. Different kinds of sockets have different properties. Sockets are either connection- oriented or connectionless. Connection-oriented sockets allow for data to flow back and forth as needed, while connectionless sockets (also known as datagram sockets) allow only one message at a time to be transmitted, without an open connection. There are also different socket families. The two most common are AF_INET for internet connections, and AF_UNIX for unix IPC (interprocess communication). As stated earlier, this FAQ deals only with AF_INET sockets.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Socket Programming Interview Questions

How do I get my server to find out the clients address / host- name?

1 Answers  


How many sockets can a port have?

0 Answers  


Can multiple clients connect to same socket?

0 Answers  


How come I get address already in use from bind()?

1 Answers  


How would I put my socket in non-blocking mode?

1 Answers  


Why sockets are used?

0 Answers  


What exactly does SO_KEEPALIVE do?

1 Answers  


What is af_inet in socket?

0 Answers  


How can I set the timeout for the connect() system call?

0 Answers  


What's the difference between a socket and a port?

0 Answers  


Why does connect() succeed even before my server did an accept()?

1 Answers  


Why do we need sockets?

0 Answers  


Categories