Hello,
I have this project where I have to implement a simple port scanner in C++ for Linux. The program should take as input a target IP address, beginning port number, and ending port number.After recieving the above info, the program should display a list of open ports. At this time I have it doing the above through a socket but it takes a very long time to search a wide range of ports. I was told that the run time would greatly decrease if I had several sockets open. However, I am confused about how to open several sockets at once. Any advice/input would greatly be appreciated.