Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 337 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 337 Bytes

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