기능
IP 주소로 부터 도메인 네임을 알아낸다
헤더
WinSock2.h
형태
struct hostent FAR * gethostbyaddr(const char FAR *addr, int len, int type);
리턴
성공 시 hostent 구조체의 포인터, 실패 시 NULL 포인터
'컴퓨터' 카테고리의 다른 글
| 003 Props 소품 (0) | 2019.03.18 |
|---|---|
| 002 Learn the Basics 기초 배우기 (0) | 2019.03.18 |
| hostent (0) | 2019.03.16 |
| gethostbyname (0) | 2019.03.16 |
| shutdown (0) | 2019.03.15 |