A multithreaded TCP port scanner written in C++ using WinSock2 and a custom thread pool.
It scans ports 1–65535 on a given IPv4 address by attempting a TCP connect() to each port. Open ports are identified when the connection succeeds.
- RAII-based WinSock initialization
- Fixed-size thread pool
- Chunk-based port distribution
- Thread-safe result aggregation
- Port range: 1–65535
- Work chunk size: 1024 ports per task
- Maximum worker threads: 8