cpython/Demo/sockets
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
..
README
broadcast.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
echosvr.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
finger.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
ftp.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
gopher.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
mcast.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
radio.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
rpython.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
rpythond.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
telnet.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
throughput.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
udpecho.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
unicast.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
unixclient.py
unixserver.py Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00

README

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
			/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.