Skip to content

Commit 03e72fc

Browse files
committed
added some comments
1 parent 2a52557 commit 03e72fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎ethical-hacking/port_scanner/fast_port_scanner.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def main(host, ports):
4141
fortinrange(N_THREADS):
4242
# for each thread, start it
4343
t=Thread(target=scan_thread)
44+
# when we set daemon to true, that thread will end when the main thread ends
4445
t.daemon=True
46+
# start the daemon thread
4547
t.start()
4648

4749
forworkerinports:

0 commit comments

Comments
(0)