Einzelnen Beitrag anzeigen

Fridolin Walther

Registriert seit: 11. Mai 2008
Ort: Kühlungsborn
446 Beiträge
 
Delphi 2009 Professional
 
#9

Re: Geöffnete Ports auflisten: GetTCPTable IpHlpAPI

  Alt 20. Nov 2009, 19:56
Es gibt auch Pre-XP Methoden um an den Port zu kommen. Die wohl häufigste besteht darin einfach alle Handles zu enumerieren die auf UDP bzw. TCP Sockets verweisen und so an entsprechende Informationen zu gelangen. Eine entsprechende Implementierung in C gibts hier z.B.:
http://files.codes-sources.com/fichi...port.c&lang=en

Ich hab vor Jahren das Ganze auch mal in Delphi implementiert. Mal schauen ob ich den Source noch finde.
Fridolin Walther
"While Mr. Kim, by virtue of youth and naiveté, has fallen prey to the inexplicable need for human contact, let me step in and assure you that my research will go on uninterrupted, and that social relationships will continue to baffle and repulse me."
  Mit Zitat antworten Zitat