try writing your own....
u will find it much more worthwhile
here r a few links that might Aid U http://astalavista.box.sk/ http://www.textfiles.com/ http://www.grc.com/port_0.htm
use GRC to learn basiclly the function of everyport. They also have a ton of other security tools (mostly webbased) that u can gain networking knowledge
Programming it is like sex anyone can do it but only a few of us will ever master it and satisfy all parties envoled :-)