
DCOM remote computer availability check
Not really. The way networks operate, even if you'd come up with a custom
scheme, you'd still wait ages.
Also, there's a difference between the server being down and, say, RPC being
on the fritz for some reason.
One option would be to ping the server, which is a bit more efficient. But
nowadays even ICMP gets disabled due to DoS attacks.
Check out www.mvps.org/vbnet/ for some samples.
. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
http://www.vbbox.com/
Please post/reply to the newsgroup(s)
Quote:
> Hi,
> Is there a way, how to check if the computer, on which
> I want to create a DCOM object, is available ?
> When I issue the CreateObject and the computer is not
> available it takes ages. I need to avoid this somehow.
> Nice would be also a kind of timeout for CreateObject,
> but I don't know if there is such a possibility.
> Can somebody help ?
> Thank You for any suggestions
> Sam