Commits

Moritz Heidkamp committed dfaa954

Remove deprecated options

Comments (0)

Files changed (1)

   (socket-option->int int->socket-option)
   ((sndhwm) ZMQ_SNDHWM)
   ((rcvhwm) ZMQ_RCVHWM)
-  ;; ((swap) ZMQ_SWAP) no replacement in zmq 3.x
   ((affinity) ZMQ_AFFINITY)
   ((identity) ZMQ_IDENTITY)
   ((subscribe) ZMQ_SUBSCRIBE)
   ((unsubscribe) ZMQ_UNSUBSCRIBE)
   ((rate) ZMQ_RATE)
   ((recovery-ivl) ZMQ_RECOVERY_IVL)
-  ;; ((mcast-loop) ZMQ_MCAST_LOOP) can't find this in the zmq3 docs
   ((sndbuf) ZMQ_SNDBUF)
   ((rcvbuf) ZMQ_RCVBUF)
   ((rcvmore) ZMQ_RCVMORE)
 (define (socket-option-set! socket option value)
   (or (zero? (case option
                ;; TODO: affinity requires an integer64 branch here
-               ((sndhwm rcvhwm sndbuf rcvbuf swap rate recovery-ivl)
+               ((sndhwm rcvhwm sndbuf rcvbuf rate recovery-ivl)
                 (if (integer? value)
                     ((foreign-safe-lambda* int
                                            ((scheme-object error)