C++ program (using libtins) to scan whether some ports are open by sending SYN packets to all IP(s) in a network