jeapostrophe / zeromq

FFI to zeromq
Other
12 stars 8 forks source link

Zmq proxy #6

Closed neomantic-zz closed 11 years ago

neomantic-zz commented 11 years ago

This PR adds a binding to zmq_proxy. This call is available in version 3.2.x of zmq, and replaces zmq_device.

The API is ...

procedure
(proxy! frontend backend [capture]) → void
  frontend : socket?
  backend : socket?
  capture : (or/c socket? false?) = #f