I got most of my libraries from Visual C++ 6.0; but the <winsock.h> and <winsock2.h> should come with other windows compilers. also, if you use <winsock.h>, you need to link your programs with wsock32.lib and if you use <winsock2.h>, you need to link with ws2_32.lib

Thanks for the info slarty...I could just write the code in C instead of C++; it's not like I'm making use of C++'s features anyway. so I think I'll port it to C for now and figure out a way to do it in C++.

I also downloaded the source code for nmap, so that should help me out alot.

-Nitro-