set_command_map was only invoked in three files: test_fea_rawlink.cc, 
test_xrl_sockets4_tcp.cc and test_xrl_sockets4_udp.cc. It is interesting to see 
that: in these three test_main functions:
there is no wait_until_xrl_router_is_ready called. But magically they are 
working just fine.

I have a process which has a class implemented interface socket4_user/0.1. 
I have wait_until_xrl_router_is_ready. But if I leave out set_command_map, then 
send_bind and send_listen does not really work properly. That is the packets 
delivered to the sockets are not passed to my implemented function
socket4_user_0_1_inbound_connect_event or socket4_user_0_1_recv_event.

But in olsr4 and rip, they dont have set_command_map. Maybe because they do
not register send_bind or send_listen?


      

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to