Autor Beitrag
pHew
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16

Win XP Prof
D6 Enter
BeitragVerfasst: So 04.04.04 18:45 
Hallo!

Ich habe ein Programm, welches eine Verbindung zu einem Server im Internet auf einem bestimmten Port herstellt.
Wenn ich "netstat -n" ausführe, sehe ich dort die Verbindung und erkenne sie an der Portnummer.
Jetzt möchte ich ein Delphiprogramm schreiben, welches alle 5 Sek. die laufenden Verbindungen checkt
(es soll also praktisch netstat -n ausführen und interpretieren) und mir, wenn eine Verbindung auf dem speziellen
Port besteht, eine Nachricht ausgibt.

Mein Problem dabei: Wie finde ich die laufenden Verbindungen innerhalb von Delphi?

Wäre nett wenn ihr mir helfen könntet,

Danke euer pHew

_________________
Kill Bill
pHew Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16

Win XP Prof
D6 Enter
BeitragVerfasst: Mo 12.04.04 18:42 
:idea:

_________________
Kill Bill
ForzaFCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 80


D6 / D7 Personal
BeitragVerfasst: Mi 21.04.04 09:42 
wärs da nich besser mit einer batchfile programmierung zu arbeiten? :eyecrazy:

_________________
HANSA ROSTOCK DU SOLLST STRAHLEN..... *sing* Für immer und ewig FC hansa Rostock!
pHew Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16

Win XP Prof
D6 Enter
BeitragVerfasst: So 30.05.04 15:34 
Öh.. wieso das? Wenn du mir erklärst wie das geht schau ichs mir mal an ;)

_________________
Kill Bill