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 Mac, and how is it different from PC? Which one is better for professional users, and why
1 Answers Evolving Systems, IBM,
Why sockets are used?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
What is a socket connection?
When should I use UDP instead of TCP?
What is a socket set used for?
When will my application receive SIGPIPE?
Where is the socket located?
Can multiple clients connect to same socket?
How do I get the port number for a given service?
What does af mean in sockets?
What is the difference between connected and unconnected sockets?