0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Demo/sockets
Guido van Rossum 4e620374b8 added rpython
1995-04-10 11:46:03 +00:00
..
broadcast.py no longer need to include IN.py or SOCKET.py 1995-03-04 22:57:56 +00:00
ChangeLog *** empty log message *** 1992-11-16 16:56:04 +00:00
echosvr.py typo 1995-01-12 12:41:20 +00:00
finger.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
ftp.py improve treatment of multi-line replies, ignore empty lines 1995-01-12 12:42:09 +00:00
gopher.py *** empty log message *** 1993-12-17 14:39:12 +00:00
mcast.py no longer need to include IN.py or SOCKET.py 1995-03-04 22:57:56 +00:00
radio.py fix bind arg 1994-10-08 19:13:48 +00:00
README
rpython.py added rpython 1995-04-10 11:46:03 +00:00
rpythond.py added rpython 1995-04-10 11:46:03 +00:00
telnet.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00
throughput.py listen(0) -> listen(1) for Solaris 2 1994-02-28 09:31:19 +00:00
udpecho.py Use /usr/local/bin/python 1992-10-25 19:20:23 +00:00

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.