[Edu-sig] ports

A[r]TA arta@x-stream.nl
Fri, 12 May 2000 22:23:14 +0200


> 
> 
> 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:
> 
> http://www.python.org/doc/howto/sockets/sockets.html
> 

No, not with sockets. Like firewalls do...
They haven't got an IP-adress but they simply check if someone try's to
scan or log on to a port. How do I do that??

A[r]TA