murali
March 31st, 1999, 01:35 AM
Implementing PING through MFC coding.I want to implement to find whether a given URL is a valid one or not
|
Click to See Complete Forum and Search --> : mfc murali March 31st, 1999, 01:35 AM Implementing PING through MFC coding.I want to implement to find whether a given URL is a valid one or not Orlando March 31st, 1999, 02:20 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |