CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: mfc

  1. #1
    Join Date
    Mar 1999
    Location
    Andhra Pradesh, India
    Posts
    2

    mfc



    Implementing PING through MFC coding.I want to implement to find whether a given URL is a valid one or not

  2. #2
    Join Date
    Apr 1999
    Posts
    5

    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
  •  





Click Here to Expand Forum to Full Width

Featured