BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdIcmpClient and Windows Vista

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Rainer Budde
Guest





PostPosted: Sun May 20, 2007 10:42 pm    Post subject: TIdIcmpClient and Windows Vista Reply with quote



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





PostPosted: Mon May 21, 2007 6:14 am    Post subject: Re: TIdIcmpClient and Windows Vista Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.