diff options
Diffstat (limited to 'Demo/sockets/unixclient.py')
-rw-r--r-- | Demo/sockets/unixclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/unixclient.py b/Demo/sockets/unixclient.py index cdccb84586..5e87eed0de 100644 --- a/Demo/sockets/unixclient.py +++ b/Demo/sockets/unixclient.py @@ -6,7 +6,7 @@ from socket import * FILE = 'unix-socket' s = socket(AF_UNIX, SOCK_STREAM) s.connect(FILE) -s.send('Hello, world') +s.send(b'Hello, world') data = s.recv(1024) s.close() print('Received', repr(data)) |