- 论坛徽章:
- 27
|
这个handle_info(?) 里面要怎么样写才正确- 19>
- =ERROR REPORT==== 16-Sep-2014::08:59:52 ===
- ** Generic server p terminating
- ** Last message in was {#Port<0.2269>,
- {data,{eol,"Last login: Tue Sep 16 08:59:23 2014 from 106.120.78.190\r"}}}
- ** When Server state == {state,#Port<0.2269>}
- ** Reason for termination ==
- ** {'function not exported',
- [{p,handle_info,
- [{#Port<0.2269>,
- {data,
- {eol,
- "Last login: Tue Sep 16 08:59:23 2014 from 106.120.78.190\r"}}},
- {state,#Port<0.2269>}],
- []},
- {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,599}]},
- {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
- ** exception error: undefined function p:handle_info/2
- in function gen_server:handle_msg/5 (gen_server.erl, line 599)
- in call from proc_lib:init_p_do_apply/3 (proc_lib.erl, line 239)
- 19>
复制代码 |
|