TestPort

Function:

Pings a specific port on a remote computer.

Syntax:

TestPort "<remote IP address or host name>" "<portnumber>"

Example:

TestPort "www.transoft.com" "21"

If Success then

Message "Remote computer is reachable"

Endif