[erlang-questions] Matching IP address in socket module

Thomas Pircher thp+erlang@REDACTED
Thu Oct 24 17:34:45 CEST 2019


Micael Karlberg wrote:
> case socket:recvfrom(Sock, 0, nowait) of
>       {ok, {#{family := Domain,
>               port   := Port,
>               addr   := Addr}, Data}} ->
>       .

Hi Micael, Mark,

thanks for your replies. The snippet above helped me getting the record
matched.

I'm quite impressed with the socket module, it seems to be pretty
complete, at least for my application.

Thanks,
Thomas



More information about the erlang-questions mailing list