setsockopt cleanup in rbzmq

This commit is contained in:
malosek
2009-09-16 14:55:11 +02:00
parent 3534732c06
commit 3b2c3cae09
2 changed files with 37 additions and 59 deletions

View File

@@ -29,7 +29,7 @@ message_count = ARGV[2].to_i
ctx = Context.new(1, 1)
s = Socket.new(ctx, SUB);
s.setsockopt (SUBSCRIBE, "*");
s.setsockopt(SUBSCRIBE, "*");
# Add your socket options here.
# For example ZMQ_RATE, ZMQ_RECOVERY_IVL and ZMQ_MCAST_LOOP for PGM.