The port scanning feature for the time being spends time to scan ports for given target.
Currently the ports are written to stdout, the first task is to write those ports into the output file.
A progress bar showing the percentage of the operation will be written to stdout.
AC
The scanned port numbers are written to output file.
A unit test is added to exercise scan method.
A progress bar exist that shows the % of the process.
How to pass a mutable file object to trait FnMut still puzzles me.
I need to solve this mystery to be able efficiently output to a file while port scanning.
The port scanning feature for the time being spends time to scan ports for given target. Currently the ports are written to stdout, the first task is to write those ports into the output file. A progress bar showing the percentage of the operation will be written to stdout.
AC