nn_pipebase_ispeer

Returns 1 is the specified socket type is a valid peer for this socket, or 0 otherwise.

  1. int nn_pipebase_ispeer(nn_pipebase* , int socktype)
  2. int nn_pipebase_ispeer(nn_pipebase* self, int socktype)
    extern (C) @nogc nothrow nothrow @nogc
    int
    nn_pipebase_ispeer