Autor Beitrag
Johwood
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 75



BeitragVerfasst: Mi 06.08.03 12:49 
Hi,

ich hab folgendes Problem:
Es besteht eine Verbindung zwischen meinem Server und einem Server im Internet. Jetzt will ich die Daten, die ich und der Server senden, wissen, also nach Möglichkeit einfach in ein richedit protokollieren.

Wie mache ich das am Geschicktesten?
Ist das überhaupt so einfach möglich?

Normalerweise muss ich ja immer genau die Größe der Pakete und so wissen, aber geht es auch ohne?

Für Hilfe wäre ich sehr dankbar...

MfG Joh
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mi 06.08.03 16:30 
Was ist das für eine Verbindung? Reines TCP, UDP? HTTP?
Johwood Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 75



BeitragVerfasst: Mi 06.08.03 16:45 
TCP!
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Mi 06.08.03 19:43 
leider nur so:
delphi wegschmeissen weil du musst ein Treiber proggen der sich ins Net-API reinhängt und alles in eine gewünschte Datei protokolliert. Delphi kann sowas leider nicht.
oder:
Netzwerksniffer kaufen und installieren und probieren.

grez
msch
Johwood Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 75



BeitragVerfasst: Mi 06.08.03 21:33 
Hab Ethereal gefunden.. ist sogar kostenlos... :)
focus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 187

XP, 2k, 98, Me
D6 Prof
BeitragVerfasst: Do 07.08.03 10:02 
@MSCH
doch
home1.stofanet.dk/nitezhifter/

"Delphi Pcap 17-01-02
This is a converted version of the headerfiles to the WinPcap libary. There is also an encapsulating class, that handles initialization, enumeration and stuff. "[nitezhifter]
(WinPcap ist überigens der treiber der unter ethereal liegt...siehe unten)


"WinPcap is an architecture for packet capture and network analysis for the Win32 platforms. It includes a kernel-level packet filter, a low-level dynamic link library (packet.dll), and a high-level and system-independent library (wpcap.dll, based on libpcap version 0.6.2).

The packet filter is a device driver that adds to Windows 95, 98, ME, NT, 2000 and XP the ability to capture and send raw data from a network card, with the possibility to filter and store in a buffer the captured packets.

Packet.dll is an API that can be used to directly access the functions of the packet driver, offering a programming interface independent from the Microsoft OS.

Wpcap.dll exports a set of high level capture primitives that are compatible with libpcap, the well known Unix capture library. These functions allow to capture packets in a way independent from the underlying network hardware and operating system.
"[nitezhifter]

ich denke zwar nicht das es beim kernproblem weiterhilft, wollte es aber der vollsändigkeit halber noch gesagt haben...
gruss
michael
Johwood Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 75



BeitragVerfasst: Do 07.08.03 12:29 
Jo, Winpcap hab ich dafür installieren müssen...


Weiß einer, wie man den Netzwerkcode der Unreal Warfare - Engine entschlüsseln kann?