Does anyone know where I can find code for a multiple IP port scanner? I've found a hundred that will scan multiple ports but none that scan multiple IP's.

I've tried to write one but I keep getting a buffer overflow from all of the winsock stuff it runs. Any ideas?

Thanks.