Matrix1 Utility Plug-ins

PORTNAME TO PORT


Syntax

PortNo = PORTNAME TO PORT( Portname$ )
PortNo = PORTNAME TO PORT( Portname$, ProtocolName$ )

Description

Retrieves the port number for the specified port name (eg, "ftp" would return 21).

If the protocol name is not specified, the function will determine the port number using the tcp protocol. Valid protocol names are "tcp" and "udp".

Returns the port number located, or 0 if the port number could not be located.

Go back to ...

Matrix1Util_28 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011