nn_epbase_ispeer

  1. int nn_epbase_ispeer(nn_epbase* self, int socktype)
  2. int nn_epbase_ispeer(nn_epbase* self, int socktype)
    extern (C) @nogc nothrow nothrow @nogc
    int
    nn_epbase_ispeer

Return Value

Type: int

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