def verbose_ping(hostname, timeout=WAIT_TIMEOUT, count=NUM_PACKETS,<EOL>packet_size=PACKET_SIZE, path_finder=False):
signal.signal(signal.SIGINT, signal_handler)   <EOL>if hasattr(signal, "<STR_LIT>"):<EOL><INDENT>signal.signal(signal.SIGBREAK, signal_handler)<EOL><DEDENT>myStats = MyStats()  <EOL>mySeqNumber = <NUM_LIT:0>  <EOL>try:<EOL><INDENT>destIP = socket.gethostbyname(hostname)<EOL>print("<STR_LIT>" %<EOL>(hostname, destIP, packet_size))<EOL><DEDENT>except socket.gaierror as e:<EOL><INDENT>print("<STR_LIT>" %<EOL>(hostname, e.args[<NUM_LIT:1>]))<EOL>print()<EOL>return<EOL><DEDENT>myStats.thisIP = destIP<EOL>for i in range(count):<EOL><INDENT>delay = do_one(myStats,<EOL>destIP,<EOL>hostname,<EOL>timeout,<EOL>mySeqNumber,<EOL>packet_size)<EOL>if not delay:<EOL><INDENT>delay = <NUM_LIT:0><EOL><DEDENT>mySeqNumber += <NUM_LIT:1><EOL>if (MAX_SLEEP > delay):<EOL><INDENT>time.sleep((MAX_SLEEP - delay) / <NUM_LIT:1000>)<EOL><DEDENT><DEDENT>dump_stats(myStats)<EOL>
Send >count< ping to >destIP< with the given >timeout< and display
the result.