DNS Resolve IP to HostName

Discussion in 'ASP .Net' started by Mike Kansky, Jun 6, 2006.

  1. Mike Kansky

    Mike Kansky Guest

    DNS.GetHostByAddress runs very slow for foreign IPs.

    I heard that DNS.BeginResolve can make asynchronous IP to Host resolve.

    Can anyone provide me an example of VB.NET code that would make asynchronous
    DNS.beginResolve call?

    I need it to make a try to resolve the IP to HOST and to quit if it's taking
    longer than 5 seconds.

    Thanks a lot!
     
    Mike Kansky, Jun 6, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Spartaco

    hostname and dns

    Spartaco, Apr 1, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    2,627
    Spartaco
    Apr 1, 2005
  2. AWieminer
    Replies:
    0
    Views:
    948
    AWieminer
    Jul 12, 2005
  3. Tim Veldhuizen
    Replies:
    2
    Views:
    1,192
    Tim Veldhuizen
    Jul 24, 2003
  4. Replies:
    1
    Views:
    11,075
  5. Nicopilami
    Replies:
    1
    Views:
    2,908
    bruce barker
    Apr 2, 2008
  6. 星星

    smtplib send mail dns resolve problem

    星星, Oct 19, 2009, in forum: Python
    Replies:
    2
    Views:
    895
    星星
    Oct 20, 2009
  7. cjblaine
    Replies:
    1
    Views:
    469
    Ned Deily
    Apr 28, 2011
  8. Sam Roberts
    Replies:
    0
    Views:
    407
    Sam Roberts
    Mar 20, 2005
Loading...