![]() |
problem with opennnig alot of sockets
Liste der Anhänge anzeigen (Anzahl: 1)
Hi hello, first of all i only know english.. and this is best forum i found that supports delphi coding.
i have coded a scanner, its only basic now. i didnt fix alot of things. but my main problem is(hope to explain it right), that if i spawn 100 threads and will scan my lan it will give me any results, now each host underlan is given 500ms (timeout) that is more then fair, it scannig well if i spawn only 10 threads. but with alot of threads its losing it and i dont find any open ports.' notice that i scan my lan that has 2 hosts at last. that is 100mbit. if anybody know good about winsock programing please help. tests
Code:
not stable.
C:\codes\socket\Scanner 0.1>scanner
MPS From: 192.168.2.100 To: 192.168.2.215 started with(10). 192.168.2.103 open 192.168.2.110 open C:\codes\socket\Scanner 0.1>scanner MPS From: 192.168.2.100 To: 192.168.2.215 started with(100). 192.168.2.110 open MPS From: 192.168.2.100 To: 192.168.2.215 ended. C:\codes\socket\Scanner 0.1>scanner MPS From: 192.168.2.100 To: 192.168.2.215 started with(100). MPS From: 192.168.2.100 To: 192.168.2.215 ended. h |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:32 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