Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {ok, ListenSocket} ->
- %% Serveur lancé
- io:format("Host Launched on: ~p~n", [Port]),
- ListenSocket;
- {error, Raison} ->
- %% Serveur impossible à lancer
- io:format("Host Running failed on ~p: [~p]~n", [Port, Raison]),
- exit(Raison)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement