README 877 Bytes
Newer Older
1
This directory contains some demonstrations of the socket module:
Guido van Rossum's avatar
Guido van Rossum committed
2

3
broadcast.py	 	Broadcast the time to radio.py.
Guido van Rossum's avatar
Guido van Rossum committed
4 5
echosvr.py		About the simplest TCP server possible.
finger.py		Client for the 'finger' protocol.
6 7
ftp.py			A very simple ftp client.
gopher.py		A simple gopher client.
8
radio.py		Receive time broadcasts from broadcast.py.
Guido van Rossum's avatar
Guido van Rossum committed
9 10
telnet.py		Client for the 'telnet' protocol.
throughput.py		Client and server to measure TCP throughput.
11 12
unixclient.py		Unix socket example, client side
unixserver.py		Unix socket example, server side
Guido van Rossum's avatar
Guido van Rossum committed
13
udpecho.py		Client and server for the UDP echo protocol.
Guido van Rossum's avatar
Guido van Rossum committed
14

15 16
The following file is only relevant on SGI machines (or other systems
that support multicast):
Guido van Rossum's avatar
Guido van Rossum committed
17 18 19

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

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