I'm not a smart man when it comes to this stuff here (most people here are much so my superiors in knowledge).
But the way I do such testing, is generally via telnet for TCP based and via custom program/script for UDP based communication.
telnet myhost my_protocols_port
e..g tcp$ telnet foob 6789 or udp$ myscript.ext foob 6789 and see if I get a connection refused or actually get a reply of some sort.
Maybe someone here knows a nicer way.
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|