Autor Beitrag
stratege15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58



BeitragVerfasst: Sa 03.04.04 12:11 
hi,
ich weiß, dass ein ähnlicher thread schonmal geöffnet wurde; habe ihn aber leider nicht mehr finden können.

wie kann man mit den indy-compos (oder auch via api) prüfen, ob ein host (eine bestimmte ip) erreichbar ist, ohne eine socket-fehlermeldung angezeigt zu bekommen? d.h., dass einfach ein true oder ein false zurückgegeben wird?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 03.04.04 13:26 
mach nen ping !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
stratege15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58



BeitragVerfasst: Sa 03.04.04 13:59 
aber mit icmp kriegt man trotzdem n socket-error wenn der host nicht erreichbar ist .. hätte vielleicht jemand n beispielquelltext wie man einen ping senden kann, bei dem nach timeout kein error ausgegeben wird und man diesen error auch in boolean-variablen zum beispiel speichern kann?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 04.04.04 10:21 
nimm zum pingen doch die indy kompos. auf der indy seite gibt es auch demos zum runterladewn. da ist auch ein demo zum thema pingen voranden. (in dem ganzen demo pack)

_________________
In the beginning was the word.
And the word was content-type: text/plain.