cpython/Demo/sockets
Guido van Rossum 48b805c07c SO_REUSEPORT should be SO_REUSEADDR.
I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
1998-01-15 22:36:13 +00:00
..
ChangeLog
README
broadcast.py
echosvr.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
finger.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
ftp.py
gopher.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
mcast.py SO_REUSEPORT should be SO_REUSEADDR. 1998-01-15 22:36:13 +00:00
radio.py
rpython.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
rpythond.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
telnet.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
throughput.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
udpecho.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
unicast.py

README

This directory contains some demonstrations of the socket module:

broadcast.py	 	Broadcast the time to radio.py.
echosvr.py		About the simplest TCP server possible.
finger.py		Client for the 'finger' protocol.
ftp.py			A very simple ftp client.
gopher.py		A simple gopher client.
telnet.py		Client for the 'telnet' protocol.
throughput.py		Client and server to measure TCP throughput.
udpecho.py		Client and server for the UDP echo protocol.
radio.py		Receive time broadcasts from broadcast.py.

The following file is only relevant on SGI machines (or other systems
that support multicast):

mcast.py		A Python translation of
			/usr/people/4Dgifts/examples/network/mcast.c
			(Note that IN.py is in ../../lib/sgi.)

See also ../../lib/nntp.py for another example of socket code.