Lines Matching refs:hp
665 struct hostent *hp;675 hp = gethostbyname(host);676 if(hp == 0) {682 addr.sin_family = hp->h_addrtype;684 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);686 s = socket(hp->h_addrtype, type, 0);