Something
public text v1 · immutablestart_link(Port) ->
{ok, proc_lib:spawn_link(?MODULE, init, [Port])}.
%%--------------------------------------------------------------------
%% Open a socket on Port. If it fails, try again.
%% Then go into accept-loop (see loop/1)
init(Port) ->
Response = gen_tcp:listen(Port, [list, {packet, 0},
{active, false}]),
case Response of
{ok, LSock} ->