Skip to content

Instantly share code, notes, and snippets.

@calid
Created March 19, 2015 00:56
Show Gist options
  • Save calid/3b3e4427284d7cfe4968 to your computer and use it in GitHub Desktop.
Save calid/3b3e4427284d7cfe4968 to your computer and use it in GitHub Desktop.
pyzmq hanging on exit
import zmq
c = zmq.Context()
s = c.socket(zmq.DEALER)
s.connect('ipc://*')
s.send_string('ohhai')
s.send_string('ohhai')
s.send_string('ohhai')
print('Done')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment