1992-08-10 10:46:25 +00:00
|
|
|
This directory contains some demonstrations of the socket module:
|
1991-07-01 18:32:32 +00:00
|
|
|
|
1992-08-10 10:46:25 +00:00
|
|
|
broadcast.py Broadcast the time to radio.py.
|
1991-07-01 18:32:32 +00:00
|
|
|
echosvr.py About the simplest TCP server possible.
|
|
|
|
finger.py Client for the 'finger' protocol.
|
1992-10-25 19:18:23 +00:00
|
|
|
ftp.py A very simple ftp client.
|
|
|
|
gopher.py A simple gopher client.
|
1998-01-28 16:54:00 +00:00
|
|
|
radio.py Receive time broadcasts from broadcast.py.
|
1991-07-01 18:32:32 +00:00
|
|
|
telnet.py Client for the 'telnet' protocol.
|
|
|
|
throughput.py Client and server to measure TCP throughput.
|
1998-01-28 16:54:00 +00:00
|
|
|
unixclient.py Unix socket example, client side
|
|
|
|
unixserver.py Unix socket example, server side
|
1991-07-01 18:32:32 +00:00
|
|
|
udpecho.py Client and server for the UDP echo protocol.
|
1992-09-08 21:19:46 +00:00
|
|
|
|
1992-10-25 19:18:23 +00:00
|
|
|
The following file is only relevant on SGI machines (or other systems
|
|
|
|
that support multicast):
|
1992-09-08 21:19:46 +00:00
|
|
|
|
|
|
|
mcast.py A Python translation of
|
|
|
|
/usr/people/4Dgifts/examples/network/mcast.c
|
1992-10-25 19:18:23 +00:00
|
|
|
(Note that IN.py is in ../../lib/sgi.)
|
|
|
|
|
|
|
|
See also ../../lib/nntp.py for another example of socket code.
|