blob: 21ed808cc3f5ee4f9c2768944f16e59792df7d7c [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 Rossumdd918a91998-01-28 16:54:00 +00008radio.py Receive time broadcasts from broadcast.py.
Guido van Rossum22825e81991-07-01 18:32:32 +00009telnet.py Client for the 'telnet' protocol.
10throughput.py Client and server to measure TCP throughput.
Guido van Rossumdd918a91998-01-28 16:54:00 +000011unixclient.py Unix socket example, client side
12unixserver.py Unix socket example, server side
Guido van Rossum22825e81991-07-01 18:32:32 +000013udpecho.py Client and server for the UDP echo protocol.
Guido van Rossum00c5ad61992-09-08 21:19:46 +000014
Guido van Rossum82087021992-10-25 19:18:23 +000015The following file is only relevant on SGI machines (or other systems
16that support multicast):
Guido van Rossum00c5ad61992-09-08 21:19:46 +000017
18mcast.py A Python translation of
19 /usr/people/4Dgifts/examples/network/mcast.c
Guido van Rossum82087021992-10-25 19:18:23 +000020 (Note that IN.py is in ../../lib/sgi.)
21
22See also ../../lib/nntp.py for another example of socket code.