8000
Skip to content

Better SOCKET-OPTION accessors #29

@phoe

Description

@phoe

Is there any need to create accessors for more Lisp-style access to ZMQ socket options? I realized that my own code has the following snippet for setting multiple socket options at once:

(defun set-socket-options (socket &rest args)
  (loop for (key value) on args by #'cddr
        do (z:setsockopt socket key value)))

Another idea would be to create #'socket-option and #'(setf socket-option) for Lisp-style reader and writer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0