@@ -0,0 +1,396 @@
+import sys%0Aimport socket%0A%0A#mostly taken from socket documentation and cewing's walkthru%0A%0Adef msgsend(mess):%0A    client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)%0A    client.connect( (%22%22, 7539) )%0A    client.sendall(mess)%0A    data = client.recv(1024)%0A    client.close()%0A    return data%0A%0Aif __name__ == '__main__':%0A    if sys.argv%5B1%5D:%0A        print %22Response: %22 + msgsend(str(sys.argv%5B1%5D))%0A

copie client code from socket exercise