The key idea is we want to know if a port is open or closed, filtered or not on another computer It will let us go and identify running services on a host with the view to compromise it. Port scanning is generally used for more probing and less attacking.
A report/presentation is attached to explain about the repo. PS - For getting the complete code along with GUI, send a mail to varshahima1994@gmail.com