Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Ping mit Indy als normaler User (https://www.delphipraxis.net/16508-ping-mit-indy-als-normaler-user.html)

Jelly 18. Feb 2004 10:14


Ping mit Indy als normaler User
 
Hallo zusammen,

sagt mal, kann es sein das mit den Indykomponenten ein stinknormaler Ping zu einem Rechner nur mit Administrator Rechten funktioniert... Find ich nämlich seltsam, denn mit dem M$ Ping Befehl klappts auch als normal angemeldeter User...

Gruß,
Tom

Jelly 18. Feb 2004 21:51

Re: Ping mit Indy als normaler User
 
Hallo,

meine Vermutung hat sich bestätigt: Guckst du hier...

Zitat:

Zitat von Indy Knowledge Base
"I can not ping with Indy on Windows NT or Windows 2000. What do I do about this?"

In Windows NT and Windows 2000, Indy's TIdICMPClient requires administrative privileges to use raw sockets. The command line PING application does not exhibit this behavior because Microsoft chose to use undocumented calls in ICMP.DLL and its winsock implementation to get around the issue. In short: they cheated. Indy does not use ICMP.DLL to maintain Linux compatibility, and allow use of both Raw sockets and ICMP sockets.

In single-user operating systems such as Windows 95, 98, and ME, any user can ping with Indy.

Gruß,
Tom


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:44 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz