-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Expand file tree
/
Copy pathREADME
More file actions
20 lines (16 loc) · 781 Bytes
/
README
File metadata and controls
20 lines (16 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.