[erlang-questions] gen_fsm:reply causes function_clause error

Kaiduan Xie <>
Wed Feb 22 20:51:23 CET 2012


Hi,

When does gen_fsm:reply trigger a function_clause error?

** Reason for termination =
** {function_clause,
       [{gen_fsm,reply,
            [<0.124.0>,
             {recvd_connection_bind,
                 <<0,11,0,20,33,18,164,66,142,233,218,71,198,31,64,0,0,0,0,
                   1,128,34,0,8,101,114,108,115,116,117,114,110,0,42,0,4,0,
                   1,143,199>>}]},

gen_fsm is called in handle_info({tcp, Data}, StateName, State) callback.

Thanks,

/Kaiduan



More information about the erlang-questions mailing list