What I need is to loop over ets table in serialized fashion.  <br><br>I am thinking of using ets table with gen_fsm to work together.  gen_fsm will have 3 state: first, next, last.  This way I can serialize the access to ets table and ets record navigation is looped over.  <br>

<br>When an an event happens(method 1),  I need to get ets record and send it back to the requester.<br><br>or requester will send a message(method2), in which case, gen_fsm should get ets record and send it back to the requester.<br>

<br>does gen_fms allow you to send message(ets record) back to the requester.  Any alternatives I can look into?<br clear="all"><br>-- <br>rk<br><br>That which we persist in doing becomes easier for us to do; not that the nature of the thing itself is changed, but that our power to do is increased.<br>
- Ralph Waldo Emerson<br>