ipv6freely / tcpping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TCP Ping

PyPI version

Installation:

pip install tcpping

Usage:

from tcpping import tcpping

if tcpping(host = '10.10.10.10', port = 22, timeout = 5):
	print('yay!')
else:
	print('boo!')

Credit:

@yantisj for the intitial code

About

License:MIT License


Languages

Language:Python 100.0%