|
-
March 31st, 1999, 02:35 AM
#1
mfc
Implementing PING through MFC coding.I want to implement to find whether a given URL is a valid one or not
-
March 31st, 1999, 03:20 AM
#2
Re: mfc
Hi,
Technically I don't think thet PING proves conclusively that a given host name is valid because PING will fail if the remote computer is down or unreachable for some reason.
Like all TCP/Ip utilities first the IP subsystem has to get the IP address
of a given URL (probably via the Gethostbyname function).
The GetHostByName function may be a better way. At least it would show if the URL exist in any of the Internet DNS databases.
Maybe someone could verify/correct me on this point
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|