컴퓨터
gethostbyaddr
sayyesdoit
2019. 3. 17. 21:44
기능
IP 주소로 부터 도메인 네임을 알아낸다
헤더
WinSock2.h
형태
struct hostent FAR * gethostbyaddr(const char FAR *addr, int len, int type);
리턴
성공 시 hostent 구조체의 포인터, 실패 시 NULL 포인터