Guido van Rossum | 814d7cd | 1992-08-10 10:46:25 +0000 | [diff] [blame] | 1 | This directory contains some demonstrations of the socket module: |
Guido van Rossum | 22825e8 | 1991-07-01 18:32:32 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | 814d7cd | 1992-08-10 10:46:25 +0000 | [diff] [blame] | 3 | broadcast.py Broadcast the time to radio.py. |
Guido van Rossum | 22825e8 | 1991-07-01 18:32:32 +0000 | [diff] [blame] | 4 | echosvr.py About the simplest TCP server possible. |
| 5 | finger.py Client for the 'finger' protocol. |
Guido van Rossum | 8208702 | 1992-10-25 19:18:23 +0000 | [diff] [blame] | 6 | ftp.py A very simple ftp client. |
| 7 | gopher.py A simple gopher client. |
Guido van Rossum | dd918a9 | 1998-01-28 16:54:00 +0000 | [diff] [blame] | 8 | radio.py Receive time broadcasts from broadcast.py. |
Guido van Rossum | 22825e8 | 1991-07-01 18:32:32 +0000 | [diff] [blame] | 9 | telnet.py Client for the 'telnet' protocol. |
| 10 | throughput.py Client and server to measure TCP throughput. |
Guido van Rossum | dd918a9 | 1998-01-28 16:54:00 +0000 | [diff] [blame] | 11 | unixclient.py Unix socket example, client side |
| 12 | unixserver.py Unix socket example, server side |
Guido van Rossum | 22825e8 | 1991-07-01 18:32:32 +0000 | [diff] [blame] | 13 | udpecho.py Client and server for the UDP echo protocol. |
Guido van Rossum | 00c5ad6 | 1992-09-08 21:19:46 +0000 | [diff] [blame] | 14 | |
Guido van Rossum | 8208702 | 1992-10-25 19:18:23 +0000 | [diff] [blame] | 15 | The following file is only relevant on SGI machines (or other systems |
| 16 | that support multicast): |
Guido van Rossum | 00c5ad6 | 1992-09-08 21:19:46 +0000 | [diff] [blame] | 17 | |
| 18 | mcast.py A Python translation of |
| 19 | /usr/people/4Dgifts/examples/network/mcast.c |
Guido van Rossum | 8208702 | 1992-10-25 19:18:23 +0000 | [diff] [blame] | 20 | (Note that IN.py is in ../../lib/sgi.) |
| 21 | |
| 22 | See also ../../lib/nntp.py for another example of socket code. |