Autor Beitrag
sky21
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 141

W7
D2010, XE2
BeitragVerfasst: Mi 10.05.06 16:40 
Hallo

Ich habe ein Pingclient (ein Client, der nur ICMP Requests sendet) erstellt und möchte nun diverse Testfälle ausprobieren.

Gibt es die Möglichkeit, einen ICMP Server zu programmieren? Evt. gibts sogar etwas von den IndyKomponenten? Bin neu und bin noch Unwissend :-) Please help.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 10.05.06 17:11 
also normalerweise kann jeder rechner immer gepingt werden. Du brauchst dazu nicht extra einen Server.

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

W7
D2010, XE2
BeitragVerfasst: Mi 10.05.06 17:21 
user profile iconmatze hat folgendes geschrieben:
also normalerweise kann jeder rechner immer gepingt werden. Du brauchst dazu nicht extra einen Server.

Das ist schon korrekt, aber wenn man eben das 'ping' selber testen will, dann muss man eben ein paar parameter auf der server(response)-seite konfigurieren können.

z.b. anfragen bewusst verschluckem, zusätzlich replies senden, replies in anderer reihenfolge zum client zurücksenden. usw!
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 10.05.06 23:02 
Moin!

Das könnte sehr schwer werden, denn du mußt Windows erstmal beibringen, nicht mehr ICMP-Echo-Requests zu beantworten... :?: :|

Falls :!: du das also hinkriegen solltest (was IMHO nicht möglich ist), könntest du mit RawSockets versuchen, ranzugehen... naja, sehr experimentell... ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.