Add more whitespace; use a better socket name

This commit is contained in:
Andrew M. Kuchling 2006-06-03 23:59:36 +00:00
parent 46df918314
commit 9fef9b166e
2 changed files with 14 additions and 5 deletions

View file

@ -1,7 +1,9 @@
# Echo client demo using Unix sockets
# Piet van Oostrum
from socket import *
FILE = 'blabla'
FILE = 'unix-socket'
s = socket(AF_UNIX, SOCK_STREAM)
s.connect(FILE)
s.send('Hello, world')