 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rainer Budde Guest
|
Posted: Sun May 20, 2007 10:42 pm Post subject: TIdIcmpClient and Windows Vista |
|
|
Hi,
I´m using the TIdIcmpClient component and Delphi 6. I´ve problems with
pinging hosts with this component. My test application works fine with
Windows XP but with Windows Vista I always get timeouts. The problem
seems to be the windows firewall. I deactivated the windows firewall and
everythink works fine. Now I added a new rule for my application (In the
Advanced Firewall Configuration) to except the incoming ICMP Packets.
But if I use the application filename nothing works. It only works if I
except every program for icmp. But I don´t want do this.
Is it possible do to a simple ping with the indy components without
changing my firewall settings. In my windows console I can ping every
host, but not with Indy.
Any Ideas?
Best regards
Rainer |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon May 21, 2007 6:14 am Post subject: Re: TIdIcmpClient and Windows Vista |
|
|
"Rainer Budde" <"rainer[no-spam]"@speed-soft.de> wrote in message
news:465088a0$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I´m using the TIdIcmpClient component and Delphi 6. I´ve problems
with pinging hosts with this component. My test application works
fine with Windows XP but with Windows Vista I always get timeouts.
|
TIdIcmpClient requires admin rights in order to create the socket.
Vista handles admin rights very differently than XP does.
| Quote: | Is it possible do to a simple ping with the indy components
without changing my firewall settings.
|
Nope, because of the low-level access that TIdIcmpClient tries to use.
| Quote: | In my windows console I can ping every host, but not with Indy.
|
TIdIcmpClient does not use the same architecture that Microsoft's ping
tool uses. You can find plenty of third-party docs and code snippets
to access the same DLLs that Microsoft's tool uses, though.
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|