Re: IdICMP with user rights

Giganews Newsgroups
Subject: Re: IdICMP with user rights
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Thu, 6 Sep 2007

"Coudy" <cou…@chovan.net> wrote in message
news:7EC5CBB16F34E340cou…@chovan.net...

> Ping isn't working, if user which execute my app is in user group.

That is to be expected.  ICMP requires the use of RAW sockets, which are
limited to admins only.

> Any suggestion how to run my app under user rights ?

Don't use TIdICMPClient.  Microsoft has its own DLLs that you can interface
with instead, which (surprise) are able to bypass the security checks that
Microsoft enforces on everyone else.  Search around for more details.  I
know this has been discussed before.

Gambit

Replies

None

In response to

IdICMP with user rights posted by Coudy on Thu, 06 Sep 2007