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 |
What is a socket connection?
What's the difference between impact sockets and regular sockets?
What is sae socket?
What is socket programming in java?
How do I send [this] over a socket?
Whats the difference between select() and poll()?
How come select says there is data, but read returns zero?
What is af_inet in socket?
What is the difference between close() and shutdown()?
over the socket? Is there a way to have a dynamic buffer? What does one do when one does not know how much information is coming?
How is a socket created?
How come only the first part of my datagram is getting through?