1. Armin Rigo
  2. cpython-withatomic


cpython-withatomic / Demo / sockets /

Filename Size Date modified Message
913 B
877 B
273 B
676 B
1.1 KB
3.6 KB
8.3 KB
2.2 KB
274 B
633 B
1.0 KB
2.3 KB
1.8 KB
1.3 KB
220 B
221 B
382 B
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.
radio.py		Receive time broadcasts from broadcast.py.
telnet.py		Client for the 'telnet' protocol.
throughput.py		Client and server to measure TCP throughput.
unixclient.py		Unix socket example, client side
unixserver.py		Unix socket example, server side
udpecho.py		Client and server for the UDP echo protocol.

The following file is only relevant on SGI machines (or other systems
that support multicast):

mcast.py		A Python translation of
			(Note that IN.py is in ../../lib/sgi.)

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