Here is the code for a preforking server
Here is a link to a description of RIP
and here is another
Here is a link to more
than you ever wanted to know about OSPF
and here is another
And here is a link to Cisco's on-line description of BGP
and here is another short article on BGP