Autor Beitrag
schippi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Di 30.10.07 09:35 
Hi!

Ich schicke Daten über eine Socketverbindung hin und her. Weiß jemand, wie man mit Delphi5 die Macadresse und vielleicht noch die Prüfsumme aus dem Protokoll herauslesen kann? Die Macadresse müsste ja in der Schicht 2 des Osi-Modells zu finden sein..

Grüße!
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 30.10.07 09:49 
Nicht mit Sockets. Siehe WinPCap ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
schippi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Di 30.10.07 10:09 
Aber WinPCap muss man ja installieren. Müsste ich da nicht auf jeden Computer, auf dem ich mein Programm benutze, WinPCap installieren? Oder kann man da auch einfach nur ne DLL mitgeben?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 30.10.07 10:12 
Steht in der Beschreibung zu WinPCap eigentlich mehr als deutlich drin ... Wer Lesen kann, ist klar im Vorteil ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
schippi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Do 01.11.07 22:46 
Hallo!

Bei WinPCap bin ich verzweifelt, weil das meiste an Beschreibungen immer auf C++ bezogen ist. Irgendwie blick ich da nicht richtig durch. :nut: Ich weiß immer noch nicht genau, was ich da alles für Dateien (für Delphi) brauch.

Ich hab jetzt auch mal auf einen anderen Weg versucht an die Mac-Adresse eines Clients zu kommen. Nämlich über ein ARP-Request.

Den Code, den ich benutze findet man mit dem Link:
entwickler-forum.de/...dex.php/t-27983.html

Das klappt auch super - aber leider nur auf Windows XP. Bei Vista bekomm ich nur Nullen angezeigt, wenn ich die Macadresse ausgeben will.

Weiß jemand, warum das bei Vista nicht funktioniert :?:

Oder könnt ihr mir vielleicht noch einen klitzekleinen Tipp zu WinPCap geben?
Aber wenn das mit dem ARP-Request funktionieren würde, wäre ich schon zufrieden.

Viele Grüße