NETSTACK_INITIAL_EVENTS_BLOCK is documented as waiting until all initial messages have received replies. From experience using libnetstack, and furthermore from looking at the relevant code, it seems only to block until all messages have been sent, not necessarily replied to. From netstack_init():
NETSTACK_INITIAL_EVENTS_BLOCK
is documented as waiting until all initial messages have received replies. From experience using libnetstack, and furthermore from looking at the relevant code, it seems only to block until all messages have been sent, not necessarily replied to. Fromnetstack_init()
:wait on all replies. this will require some fairly extensive plumbing.