Erlang: when to perform `inets:start()`?
问题 What is the appropriate place for performing inets:start() ? in `applicationname_app' module? in applicationname_sup supervisor module? in a child process hanging from the supervisor?\ someplace else? (I am still struggling with inets:httpd ) Note : the answer cannot be to the tune " use a boot file " , please. 回答1: inets is a "stand-alone" Erlang application; inets:start() is just an alias to application:start(inets) . I guess the answer pretty much depends on how you maintain your code. If