[erlang-questions] Matching IP address in socket module
Frank Muller
frank.muller.erl@REDACTED
Thu Oct 24 18:48:10 CEST 2019
Hi Thomas
Is the socket module faster than gen_tcp/gen_udp in your case? If yes, can
you please share some numbers.
/Frank
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20191024/4b0ac29b/attachment.htm>
More information about the erlang-questions
mailing list