s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect('/tmp/socketname')
s.send('Hello, world')
data = s.recv(1024)
s.close()
print('Received ' + repr(data))
how to make a socket server listen on local file