Search Tools Links Login

IPHostResolver


Visual Basic 6, or VB Classic

Allows you to look up a DNS entry by name (www.whatever.com => 100.100.0.1) or by IP (100.100.0.1 => www.whatever.com). Includes some code found right here on PSC!

Original Author: Michael Tutty

Inputs

Either a host name or the IP address

Assumptions

You should have a TCP stack installed before trying this (i.e., can you surf?), or it'll puke.

Returns

Either an IP address or a host name (are you seeing a pattern here?)

Side Effects

You may become dizzy or irritable if you use this class. Make sure to drink lots of water, and eat your vegetables.

API Declarations

Lots. See code

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 100 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD40163162000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,208 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.