tcping
tcping copied to clipboard
⚡️ Just like icmp ping
Now the program takes additional flags: `-4` and `-6`. The default behavior does not change for better backward compatibility. However, if the user specifies `-4` or `-6`, the corresponding address...
```bash ubuntu@ubuntu-pc:~$ ./tcping example.com 22 Ping tcp://example.com:22(145.28.112.37:22) - Connected - time=250.081038ms Ping tcp://example.com:22(145.28.112.37:22) - Connected - time=259.093898ms Ping tcp://example.com:22(145.28.112.37:22) - Connected - time=253.900446ms Ping tcp://example.com:22(145.28.112.37:22) - Connected - time=253.49524ms Ping...
Got the program crashed with checking a closed port: ```bash Traceback (most recent call last): File "/usr/bin/tcping", line 33, in sys.exit(load_entry_point('tcping==0.1.1rc1', 'console_scripts', 'tcping')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1157, in __call__...