호스트명으로 IP 알아내는 소스
정보/기술 > 프로그램소스
호스트명으로 IP 알아내는 소스
MS워드
2003.08.09
5페이지
1. 호스트명으로 IP 알아내는 소스.doc
2. 호스트명으로 IP 알아내는 소스.pdf
호스트명으로 IP 알아내는 소스 입니다.
[출처: root.boxbox.net]
Edited By waty.thierry

#VBIDEUtils#************************************************************
* Programmer Name : Waty Thierry
* Web Site : www.geocities.com/ResearchTriangle/6311/
*E-Mail : waty.thierry@usa.net
* Date : 13/10/98
* Time : 10:24
* Module Name : IP_Module
* Module Filename : IP.bas
**********************************************************************
* Comments :
* Find IP address ginving the hostname
**********************************************************************

Here s sample code for gethostbyname()

Add a textbox (Text1) And a Command button (Command1) To a New form And use the following code:

Usage: Fill in the textbox with the name you want to resolve and click the command button to resolve the name.

Private Const WS_VERSION_REQD = H101
Private Const WS_VERSION_MAJOR = WS_VERSION_REQD H100 And HFF
Private Const WS_VERSION_MINOR = WS_VERSION_REQD And HFF
Private Const MIN_SOCKETS_REQD =1
Private Const SOCKET_ERROR = -1
Private Const WSADescription_Len = 256
Private Const WSASYS_Status_Len = 128

Private Type HOSTENT
hName As Long
hAliases As Long
hAddrType As Integer
hLength As Integer
hAddrList As Long
End Type

Private Type WSADATA
wversion As Integer
wHighVersion As Integer
szDescription(0 To WSADescription_Len) As Byte
szSystemStatus(0 To WSASYS_Status_Len) As Byte
iMaxSockets As Integer
iMaxUdpDg As Integer
lpszVendorInfo As Long
End Type

....
컴퓨터 네트워크 - DNS에 대해 컴퓨더 및 네트워크 시스템 - DNS에 대해서
C++ 채팅 소켓 프로그램 소스 IP Address사용신청서
(A+)OSI 7-Layer 및 TCP/IP 계층 비교 컴퓨터통신
차세대 인터넷- IPV4와 IPV6의 차이점과 대책 VB.NET으로짠 소켓(socket)프로그램과 인터페이스
P2P,마케팅,브랜드,브랜드마케팅,기업,서비스마.. 정보검색사 1급, 2급시험대비 정리 및 요약
데이터 통신 - Packet Sniffer의 구현 데이터 통신 - Packet Sniffer의 구현
통신정보제공제안서(일반IP이용자) [데이터통신] 소켓프로그래밍- 채팅프로그램제작
 
[MFC] 공학용 계산기 구현 + ..
ASP 온라인 접수(신청서) 소스
회원가입폼 소스입니다
ASP 로 구현한 깔끔한 설문조사
1장 하드 디스크 물리적으로 ..
[VB6]wPrint - Printer객체 출..