AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi Ping mit Fehlermeldung 10040: Message too long
Thema durchsuchen
Ansicht
Themen-Optionen

Ping mit Fehlermeldung 10040: Message too long

Ein Thema von DevidEspenschied · begonnen am 1. Jul 2008 · letzter Beitrag vom 1. Jul 2008
 
Assertor

Registriert seit: 4. Feb 2006
Ort: Hamburg
1.296 Beiträge
 
Turbo C++
 
#2

Re: Ping mit Fehlermeldung 10040: Message too long

  Alt 1. Jul 2008, 13:03
Zitat von devidespe:
IF TReplyStatusTypes <> rsEcho THEN PingError:=True;
Das sollte besser:
if IdIcmpClient1.ReplyStatus heißen.

Ansonsten mal das Timeout hochsetzen?
IdIcmpClient1.ReceiveTimeout := 5000; Mal zur Erklärung übrigens:
http://www.indyproject.org/docsite/h...ring@word.html
Zitat:
For Windows NT and Windows 2000, administrator privileges are required to allow TIdICMPClient.Ping to work properly. 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.
Gruß Assertor
Frederik
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:45 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz