int nn_ep_ispeer (struct nn_ep *self, int socktype) { return nn_sock_ispeer (self->sock, socktype); }
int nn_pipebase_ispeer (struct nn_pipebase *self, int socktype) { return nn_sock_ispeer (self->sock, socktype); }