Hi, also if you print only 'host', running the script, you have to pass all the 3 parameters, like: python socket_script.py myserver 567 'All is OK!' The parameter sys.argv[0] is of course the script 's name (in this example: socket_script.py) Bye.