Adding missing socket family parameter.
Added return code to verbose_ping.
Re-adding original functionality to run properly at the command line.