Question : get port erlang
Answered by : james-cook-s86oyl915vnn
{ok, {Address, Port}} = inet:peername(Socket).
Source : https://stackoverflow.com/questions/30389804/in-erlang-how-to-get-clients-ip-and-port | Last Update : Tue, 14 Jun 22
Answered by : james-cook-s86oyl915vnn
{ok, {Address, Port}} = inet:peername(Socket).
Source : https://stackoverflow.com/questions/30389804/in-erlang-how-to-get-clients-ip-and-port | Last Update : Tue, 14 Jun 22