<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Forwarded Message ----<br>From: Nguyen Van Nam <van_nam_78@yahoo.com><br>To: xorp-hackers@icir.org<br>Sent: Tuesday, July 29, 2008 11:16:20 AM<br>Subject: Problem with writing a xorp prorocess<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hello,<br>I have written a code source as in the following to detect LSDB change in OSPF protocol.<br>XrlStdRouter xrl_router(_ospf.get_eventloop(), "ospf_loopfree");<br> <br> //debug_msg("Waiting for router");<br> xrl_router.finalize();<br><br> XrlOspfLoopfreeV0p1Client xrl_ospf_loopfree_client(&xrl_router);<br> <br> <br> wait_until_xrl_router_is_ready(_ospf.get_eventloop(), xrl_router);<br> //debug_msg("\n");<br> //event loop run<br><br> <br> bool success=false;<br>
<br> <br> success=xrl_ospf_loopfree_client.send_reveive_lsdb_change("ospf_loopfree",<br> callback(this,&AreaRouter::send_reveive_lsdb_change_cb ));<br> <br><br> if (success) cout<< "LSDB change"<<endl;<br> }<br> catch (...) {<br> xorp_catch_standard_exceptions(); }<br><br>But I found the errors (in the file attached).<br><br>Could you please help me to fix these?<br>Thanks so much<br><br>Nguyen Van Nam <br><br> <br><br></div></div><br>
</div></div></div><br>
</body></html>