AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi show all IP's on the network that listen to specific portnr
Thema durchsuchen
Ansicht
Themen-Optionen

show all IP's on the network that listen to specific portnr

Ein Thema von Glenndevos · begonnen am 20. Jan 2007 · letzter Beitrag vom 21. Jan 2007
Antwort Antwort
Glenndevos

Registriert seit: 20. Jan 2007
2 Beiträge
 
#1

Re: show all IP's on the network that listen to specific por

  Alt 20. Jan 2007, 22:29
Many thanks. I placed the code in a loop to check a certain range with a progressbar indicating the progress but found that for some IP adresses, there's a (too) big delay, takes approx. 4-5 seconds for an IP-adress that is not connected on the network. If I do a netstat on the doscommand prompt, that takes 0.5 seconds ... any option to speed things up ?

Thanks !
Glenn

Delphi-Quellcode:
for i := offset to last do
  begin
  progress := progress + progressstep;
  progressbar1.Position := round(progress);

  adrestocheck := IPA1.text + '.' + IPA2.text + '.' + IPA3.text + '.'+inttostr(i);

  WSAStartup($0101,WSAData);

  if checkportopen(adrestocheck,6363) then
    begin
      memo1.Lines.Add(adrestocheck);

    end
    else
    begin
      label1.caption :=('not');
    end;
  WSACleanUp;
  end;
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:28 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz