I have root supervisor that create other supervisor: start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).
I am aware that nodes can be started from the shell. What I am l开发者_如何学Cooking for is a way to start a remote node from within a module. I have searched, but have been able to find nothing.
I established a connection with a client this way: gen_tcp:listen(1234,[binary,{packet,0},{reuseaddr,true},{active,false},{recbuf,2048}]).
When starting gen_server\'s from a supervisor 开发者_JS百科(which itself is started by a application) I have the problem that when the start_link of the gen_server doesn\'t return {ok, ...} but {error
I\'m trying to send data from the server written in Erlang: gen_tcp:send(Socket, \"Server connection refused \\r\\n\").
I have looked through the Mnesia documentation and the 3 popular Erlang books. It seems only single column primary and secondary indexes can be created and used. Or maybe it is just what the examples
I have a run-time error in the init part of a gen_server. - Init begin by process_flag(trap_exit,true)
I have a logic module that tells a supervisor to start child processes. I need to store those childrens pid in the logic modules state. But I also need to update a childs pid if the supervisor restart
What are the main adv开发者_Python百科antages of using a model for concurrency based on processes over one
A thing concerning the security of Erlang\'s "secret cook开发者_JAVA技巧ie" mechanism.