Lines Matching refs:_vcsock
640 if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) { in send_vc()
644 if (_getpeername(statp->_vcsock, in send_vc()
652 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) { in send_vc()
653 if (statp->_vcsock >= 0) in send_vc()
656 statp->_vcsock = _socket(nsap->sa_family, SOCK_STREAM | in send_vc()
659 if (statp->_vcsock > highestFD) { in send_vc()
664 if (statp->_vcsock < 0) { in send_vc()
687 (void)_setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on, in send_vc()
691 if (_connect(statp->_vcsock, nsap, nsaplen) < 0) { in send_vc()
708 if (_writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
720 while ((n = _read(statp->_vcsock, (char *)cp, (int)len)) > 0) { in send_vc()
767 (n = _read(statp->_vcsock, (char *)cp, (int)len)) > 0) { in send_vc()
786 n = _read(statp->_vcsock, junk, in send_vc()