+ if (so->so_proto->pr_flags & PR_CONNREQUIRED) {
+ if (!uio->uio_resid && !rights && control) {
+ snderr((*so->so_proto->pr_usrreq)(so,
+ (flags & MSG_OOB) ? PRU_SENDOOB : PRU_SEND,
+ top, (caddr_t)0, rights, control));
+ } else if (so->so_state & SS_ISCONFIRMING)
+ /* is ok */;
+ else
+ snderr(ENOTCONN);
+ } else if (nam == 0)