I need to check a service running at specific port by telnet. The test will send a cod and according the answer we know if service is OK. Let me show a example:
telnet 1.1.1.1 6802
After this we need send a command, like S1, SR001…If return 0, mean is OK, if not, we have an error.