tcping icon indicating copy to clipboard operation
tcping copied to clipboard

⚡️ Just like icmp ping

Results 13 tcping issues
Sort by recently updated
recently updated
newest added

解决一些连接Exception导致的代码崩溃,如: [Errno 111] Connection refused

import subprocess as sp # Print the return code (status=0 mean ping success) status = sp.call(['tcping', '-c', '1', '-t', '1', 'github.com'], stdout=sp.DEVNULL, stderr=sp.DEVNULL) print(status) # OR print the full message...

I need to use this from existing python code without spawning new processes without having it print to standard out with each execution. My scripts run in kubernates and having...

To code against this library without spawning subprocesses I have to reference internal variables to know if the connection was a success. Having a method to determine success would be...

When I ping a hostname, which can not be resolved, I get this error: ``` >>> ping.ping(1) Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.6/dist-packages/tcping.py", line...

一直用大佬的 tcping 版本 , 不知道能不能增加 ipv6 的 tcp ping 功能 . 毕竟直接用 pip3 install tcping 太方便了 .

s.connect s.shutdown 在tcp层是一个包的RTT时间吗? 还是包括了三次握手以及 fin+ack的2.5RTT呢?