socket-merge-flags should merge shutdown flags.

Create issue
Issue #87 wontfix
Takashi Kato repo owner created an issue

It is not specified but can be convenient.

Originally from the below email:

Why do these not print the same thing?

      (write (shutdown-method read write))

      (write (socket-merge-flags (shutdown-method read)
                                 (shutdown-method write)))

Comments (3)

  1. Takashi Kato reporter

    This is basically impossible (too hard but too less profit) to do it.

    The SHUT_RDWR is not the result of ior but mere enum. (SHUT_RD:0, SHUT_WR:1 and SHUT_RDWR: 2) On Sagittarius implementation of socket-merge-flags is mere bitwise-ior so that we don't have to do a lot of things such as introducing a flag object.

    So this won't be fixed.

  2. Log in to comment