celluloid / celluloid-zmq

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid actors that talk over the 0MQ protocol
https://celluloid.io
MIT License
83 stars 25 forks source link

Looking for setsockopt #5

Closed CootCraig closed 12 years ago

CootCraig commented 12 years ago

Probably a github newbie question but I need the Celluloid::ZMQ::Socket setsockopt function that tobert did:

https://github.com/celluloid/celluloid-zmq/pull/1

I see it in his github clone, but not in the celluloid-zmq master.

By the way I've done my first little demo with celluloid-zmq and other than patching in setsockopt it was nice and easy.

tarcieri commented 12 years ago

I'm trying to add actual setter methods in place of setsockopt in hopes of having a more Ruby-like API. That version of setsockopt only supported linger, which has been implemented as #linger and #linger= instead

If you're looking for specific socket options that aren't presently supported, let me know!