/hn

Handy Nework port tester

Primary LanguageC

hn

Handy Network TCP port tester, good for scripting

Function

hn takes 3 paramaters, hostname/IP port timeout It will return true or false based on weather it was sucsessfull or not in opening the port.

Use

This is handy for performing tasks such as an idle loop waiting for a remote server's SSH to come back after a reboot. You could also do interesting port scanning patterns from a bash script with this.