socket_wait
error = socket_wait(nbp->nbp_tso, &nbp->nbp_timo, &res);
int socket_wait (struct socket *so, struct timespec *ts, int *res);