[Edu-sig] ports

Steve Morris smorris@nexen.com
Fri, 12 May 2000 16:18:08 -0400 (EDT)

A[r]TA writes:
 > Hi,
 > Is there a way in Python to read and write ports??
 > So port 80 for HTTP en PORT 21 for FTP and more...

What you are locking for are sockets. You open a socket on a port but
the software talks to a socket.

Here is a pointer to the documentation: