diff options
Diffstat (limited to 'server/client.py')
-rw-r--r-- | server/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/client.py b/server/client.py index b1a6d86..5b3fde6 100644 --- a/server/client.py +++ b/server/client.py @@ -12,10 +12,10 @@ sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #data += "\0" #data += "world" -#data = pack("!Bll", 1, 1234, 5678) -#data += "hello, world!" +data = pack("!BLL", 1, 1234, 5678) +data += "hello, world!" -data = pack("!Bldd", 2, 1234, 123.123, 12323.23222) +#data = pack("!BLdd", 2, 1234, 123.123, 12323.23222) print data try: |