I am doing a program (Visual Basic 6) that access to another computer in the local network, so I need to make a function that tells me if the computer is accessible. Only this, if it is accessible.
I have the name (not the IP) of the computer to test if I have access, and perhaps the computer running the program has no access to a DNS server (for example, a laptop that it is not at the office). Both computers, the one which is running the program and the one that must be accessed, belong to a Windows Domain in a Windows 2000 or Windows 2003 environment).
The question is that this function must answer as fast as possible.
Essentially, I need to know if the destination computer has a SQL Server and if it is sharing a -specific- directory.