[erlang-questions] Running Megaco MGC and MG

Maxim Treskin <>
Tue Feb 5 10:47:03 CET 2008


See function megaco_simple_mg:start/0:

start() ->
    {ok, LocalHost} = inet:gethostname(),
    start(LocalHost, false, false).

MG uses localhost by default. Read erl -man inet and redefine value of
LocalHost.

-- 
Maxim Treskin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080205/4a30fce3/attachment.html>


More information about the erlang-questions mailing list