Home | History | Annotate | Download | only in resolv

Lines Matching refs:_vcsock

685 	if (statp->_vcsock >= 0 && (statp->_flags & RES_F_VC) != 0) {
689 if (getpeername(statp->_vcsock,
697 if (statp->_vcsock < 0 || (statp->_flags & RES_F_VC) == 0) {
698 if (statp->_vcsock >= 0)
701 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM
704 fcntl(statp->_vcsock, F_SETFD, FD_CLOEXEC);
707 if (statp->_vcsock > highestFD) {
712 if (statp->_vcsock < 0) {
735 (void)setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on,
739 if (connect(statp->_vcsock, nsap, nsaplen) < 0) {
756 if (writev(statp->_vcsock, iov, 2) != (ssize_t)(INT16SZ + buflen)) {
768 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) {
814 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){
833 n = read(statp->_vcsock, junk,