Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > GetHostByName in IIS

Thread Tools

GetHostByName in IIS

Posts: n/a
I am trying to use DNS.GetHostByName() but I need to be able to set a
timeout value. Normally I would use the ASYNC functions but since in IIS
they could exhaust the thread pool and cause deadlocks is there any other
way to set a timeout value or do I need to write my own DNS communication?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
If gethostbyname fails it never recovers Andrew DeFaria Perl 2 10-06-2006 01:45 AM
gethostbyname(string here) C Programming 5 09-08-2005 06:56 AM
socket.gethostbyname returns `wrong` result? Frank Miles Python 2 07-27-2004 12:12 AM
timeout in socket.gethostbyname()? Fortepianissimo Python 1 12-08-2003 01:42 AM
Python 2.3: socket.gethostbyname(socket.gethostname()) fails? Eric Brunel Python 0 10-27-2003 04:21 PM