Print Bell ^G character whenever a socket error occurs
Get IP address from sys.argv