blob: e844ac6be7401a1771694da343fd5dc8fd83c29b [file] [log] [blame]
Guido van Rossum814d7cd1992-08-10 10:46:25 +00001This directory contains some demonstrations of the socket module:
Guido van Rossum22825e81991-07-01 18:32:32 +00002
Guido van Rossum814d7cd1992-08-10 10:46:25 +00003broadcast.py Broadcast the time to radio.py.
Guido van Rossum22825e81991-07-01 18:32:32 +00004echosvr.py About the simplest TCP server possible.
5finger.py Client for the 'finger' protocol.
Guido van Rossum82087021992-10-25 19:18:23 +00006ftp.py A very simple ftp client.
7gopher.py A simple gopher client.
Guido van Rossum22825e81991-07-01 18:32:32 +00008telnet.py Client for the 'telnet' protocol.
9throughput.py Client and server to measure TCP throughput.
10udpecho.py Client and server for the UDP echo protocol.
Guido van Rossum814d7cd1992-08-10 10:46:25 +000011radio.py Receive time broadcasts from broadcast.py.
Guido van Rossum00c5ad61992-09-08 21:19:46 +000012
Guido van Rossum82087021992-10-25 19:18:23 +000013The following file is only relevant on SGI machines (or other systems
14that support multicast):
Guido van Rossum00c5ad61992-09-08 21:19:46 +000015
16mcast.py A Python translation of
17 /usr/people/4Dgifts/examples/network/mcast.c
Guido van Rossum82087021992-10-25 19:18:23 +000018 (Note that IN.py is in ../../lib/sgi.)
19
20See also ../../lib/nntp.py for another example of socket code.