호스트명으로 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의 차이점과 대책 P2P,마케팅,브랜드,브랜드마케팅,기업,서비스마..
정보검색사 1급, 2급시험대비 정리 및 요약 통신정보제공제안서(일반IP이용자)
[데이터통신] 소켓프로그래밍- 채팅프로그램제작 지난해우리나라의정보화수준은조사결과세계17위..
실습보고서 - 임베디드 리눅스 실습 VB.NET으로짠 소켓(socket)프로그램과 인터페이스
 
프로그램 자동업데이트 VB소스
역학(주역)프로그램 소스[Delp..
[VB] 수십가지 특수효과 예제
VB팁 3500건/관리프로그램 소스