jedie/python-ping — Issue #3: Should we ping with hostname or with IP ?
Author: jedie
Created: 2011-10-12 16:13:13+00:00
State: open

ping seems to work with IP oder with hostname. So `destIP = socket.gethostbyname(hostname)` is not really needed.

Should we only use it to display this line `print("\nPYTHON-PING %s (%s): %d data bytes" % (hostname, destIP, numDataBytes))` ?