Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import socket
import os
#don't connect, just send, see what error we will get.
print("Starting...")
client = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
print("Ready.")
print("Ctrl-C to quit.")