|Ernesto Guisado's Website » Programming » Sockets||Articles | Miscellanea ||
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).Let's ask The Free Online Dictionary of Computing:
"The Berkeley Unix mechansim for creating a virtual connection between processes." A communications channel used by TCP/IP-aware applications. Sockets are data structures created by using a combination of device IP addresses and reserved TCP/UDP port numbers to indicate connection and delivery service information
Martin Hall is the co-founder of Stardust and is the Co-inventor of WinSock.
W. Richard Stevens' Home
Author of the best Unix programming books.
collection of unix programming links.
A lot of them are Socket related.
In case you're not into C/C++.
Some newsgroups (web access powered by Google):
Windows Tip: Windows does allow address reuse anyway after a listening socket is closed. If you set the SO_REUSEADDR option windows allows multiple binds to the listening socket which is probably not what you want.