:
: hi, i need C source code that listens ports ..plz help
:
Hi

maybe portsentry ?http://www.nextgen6.net/source/net/portsentry-2.0b1.tar.gz or just read manuals of socket, bind, listen, accept

or here
http://members.lycos.co.uk/h0wl/fakeFTP.c is simple program which listen at 21 port
jgr