A socket object can be in one of three modes: blocking, non-blocking, or timeout. Sockets are by default always created in blocking mode, but this can be changed by calling setdefaulttimeout(). In ...
Note that ICMP messages can only be sent from processes running as root (in Windows, you must run this script as 'Administrator'). ~/python-ping$ sudo ./ping.py usage ...