cpython/Demo/sockets
Guido van Rossum df9320f8bc *** empty log message *** 1992-11-16 16:56:04 +00:00
..
ChangeLog *** empty log message *** 1992-11-16 16:56:04 +00:00
README Added gopher.py; removed IN.py 1992-10-25 19:18:23 +00:00
broadcast.py Allow broadcast using setsockopt() 1992-09-08 21:20:12 +00:00
echosvr.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
finger.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
ftp.py Added comments, use 'global' and change prompt to "ftp.py> " 1992-11-16 16:55:11 +00:00
gopher.py Support default port. 1992-11-16 16:55:48 +00:00
mcast.py Restructured into several subroutines. 1992-11-16 16:54:45 +00:00
radio.py Initial revision 1992-05-19 13:52:02 +00:00
telnet.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
throughput.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
udpecho.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00

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.