Skip to content

Instantly share code, notes, and snippets.

@michelp
Created April 24, 2013 20:58
Show Gist options
  • Select an option

  • Save michelp/5455521 to your computer and use it in GitHub Desktop.

Select an option

Save michelp/5455521 to your computer and use it in GitHub Desktop.
(load "@lib/zmq.l")
(import zmq)
(de main ()
(setq c (zmq~new))
(setq b (zmq~socket c zmq~DEALER))
(zmq~connect b "ipc://test.sock")
(while (zmq~poll b -1)
(prinl (zmq~recv b))
)
)
(main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment