Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Socket operation on non-socket' with ruby-2.0 and zmq-3.x #29

Closed
xrl opened this issue Apr 25, 2013 · 1 comment
Closed

'Socket operation on non-socket' with ruby-2.0 and zmq-3.x #29

xrl opened this issue Apr 25, 2013 · 1 comment

Comments

@xrl
Copy link

xrl commented Apr 25, 2013

I've got a 'cutting edge' setup and I'm trying running in to the most basic issues. I have a subscribing ZMQ process elsewhere and I'm trying to get a pull socket up and running

irb(main):012:0> ctx = ZMQ::Context.new(1)
=> #<ZMQ::Context:0xb9108358>
irb(main):013:0> socket = ctx.socket(ZMQ::PULL)
=> #<ZMQ::Socket:0xb90fbe3c>
irb(main):014:0> socket.recv
ZMQ::Error: Socket operation on non-socket
  from (irb):14:in `recv'
  from (irb):14
  from /usr/local/bin/irb:12:in `<main>'

Am I using the API incorrectly?

@bwbuchanan
Copy link
Contributor

#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants