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:
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.
not stable.
h