Joe Yoder wrote:
> I know I could do an nslookup redirected to a file and tear the file apart to 
> get the info but it seems there must be a more elegant approach.  An API call?

 >>> import socket
 >>> print socket.gethostbyname("google.com")
72.14.207.99

Oops, that's python. Bad Paul!

Back to Fox, I know that West Wind's wwIPStuff has that. And there's 
certainly an API call. Yep, a google on "msdn gethostbyname" yields:

http://msdn.microsoft.com/en-us/library/ms738524(VS.85).aspx

Have fun!

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to