How to create an efficient IP scanner in Windows