too bad it's not in C, but here is an application that i wrote a while back (some of the Netstat API code was taken from CodeGuru.com i think...)
----------------------------------------
Netcat can be used to listen on specific port...
Code:netcat -l -p 100





Reply With Quote