PDA

View Full Version : Getting ip/hostname for file path



sphair
09-05-2007, 03:15 AM
In my installation I ask the user for a network location for the computer running the main database. Typically this is \\computername\prodname

Now that we are running Clarion over SQL, we need to get the IP address or hostname of this path.

Is there some function to get a ip/hostname from a path?

linder
09-05-2007, 04:53 AM
Hello,

Good question. I think this is not easy to handle. And it's not possible without WINS or an LMHOSTS file. We have to investigate this further.

But I can't think of a simple way to do the reverse DNS to get the IP address.

Friedrich