[Tutor] what do I use for this?

Alan Gauld alan.gauld at blueyonder.co.uk
Sun Mar 14 17:53:14 EST 2004


> I want to make a script that asks for a port number and returns its
meaning.
> Since there are a few thousand ports, I just want to start with
common ones.
> What would I use in this program? An array(s)?
>

What do you mean by its meaning?

Ports can be used for anything. Even the common assignments
(port 25 for SMTP etc) can be changed - although they shouldn't be!.
How would you define the meaning of a port?

Alan G.




More information about the Tutor mailing list