title: Please Tell me how to implement OSPF routing protocol
body: <p>Please help me by providing the code for ospf implementation(just basic implementation needed to show what ospf does). It can be any language like python(preferred),Java,c++,ns2,matlab etc.,. If I get code I can work on implementation and some modifications if I need. Please help me I'm a beginner!
  And I was asked to use threads for server, client etc., and I'm confused with it. How can I use threads and implement ospf?</p>