[erlang-questions] UDP active socket timeout

Bogdan Andu <>
Thu Feb 4 13:29:19 CET 2016


Hi,

How can be detected a timeout on an active UDP socket?

controlling process receives the message:
{udp, Socket, Host, Port, Bin}

and after a process is spawned to handle that data:
spawn(fun() -> handle_pckt(Socket, Host, Port, Bin) end),

Q: how the spawned or controlling  process is able to detect
that a timeout on this UDP socket occurred ?

documentations does not mention anything about timeout on active sockets

Thanks,

/Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160204/218d3e8b/attachment.html>


More information about the erlang-questions mailing list