Hi, I'd like to build a network scan tool, which can find out active hosts on the network, their IP addresses, TCP ports etc. But I am not sure how to implement the "ping" functionality, should I implement my own "ping" by using RAW Socket or using a pipe to get the output from the system's "ping.exe" and examine the information that returned.
Since I want this program to work in a fast pattern, so it can scan serveral destination -- ip and tcp ports -- simultaneously, but I don't know whether to use multi-process or multi-thread, I am not sure about the main difference between child process and thread.
Any suggestions will be greatly appreciate!
Thank you!