Re: Detecting a dead proxy to a remote object

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Michael Groeger" <google.news@xxxxxx> wrote in message
news:uyqqXcl%23FHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Chris,
>
> thanks but I am forced to use framework 1.0 :(
>
> Regards,
> Michael
....

You could use interop to implement ping (w2k and xp comes with
iphlpapi.lib/ICMP.dll). Check IcmpSendEcho in MSDN.

Hower, this is "poor man's" checking of service availability. Fact that ping
does not work does not mean that computer is unreachable. Also, if ping
works, that does not mean that service is reachable. NET remoting is missing
connection management and that is serious defect IMHO (plus there is no call
timeout, which is also very dangerous). You could try third party product
genuine channels that has implementation of bi-directional channels and also
connection management and guranteed call timeout. I have not tested it
though.

Regards,
Goran


.



Relevant Pages

  • Re: VS.NET 2005: Errors with Globals object
    ... will ping them on this issue... ... Thanks for your understanding! ... Best regards, ... Gary Chang ...
    (microsoft.public.vsnet.general)
  • Re: [opensuse] need help deciphering a tcpdump
    ... So there is a timeout on inbound.spamcheck.net ... Medwinz, thanks - I'm having a HARD time time refraining from ...
    (SuSE)
  • Re: Calling events on the server
    ... Best regards, ... > Hi Henry, ... > I saw that article on Genuine Channels and I found very interesting but I ... >>> server to get some data and the server sends the requested data. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Easter so soon?
    ... Starting with D, T (EAM), P ... Seems to 'ping' on wrong combos. ... best regards ...
    (borland.public.delphi.non-technical)
  • Re: can not ping
    ... Best regards, ... Protocol: PING ... by Default is not allow across ISA from one side to the other. ...
    (microsoft.public.isa.clients)