diff options
Diffstat (limited to 'Demo/sockets/unixclient.py')
-rw-r--r-- | Demo/sockets/unixclient.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Demo/sockets/unixclient.py b/Demo/sockets/unixclient.py deleted file mode 100644 index 5e87eed..0000000 --- a/Demo/sockets/unixclient.py +++ /dev/null @@ -1,12 +0,0 @@ -# Echo client demo using Unix sockets -# Piet van Oostrum - -from socket import * - -FILE = 'unix-socket' -s = socket(AF_UNIX, SOCK_STREAM) -s.connect(FILE) -s.send(b'Hello, world') -data = s.recv(1024) -s.close() -print('Received', repr(data)) |