Soup Scanner is a fast, simple, and efficient Class C domain scanner. It scans an entire Class C type domain for a specified port and simply dumps resulting hosts to the terminal window.
You can download it from the following link: https://packetstormsecurity.com/files/download/14255/soupscan.c
Source: https://packetstormsecurity.com/files/14255/soupscan.c.html