[erlang-questions] Erlang and sleep mode under Windows
Frank Muller
frank.muller.erl@REDACTED
Thu Sep 7 06:49:07 CEST 2017
Hi
I’ve a simple Erlang application under Windows. It runs under erlsrv.exe
and all is good.
However, I’ve noticed that when the machine enters sleep mode, my app "must
be manually restarted" to work again.
The reason is still not clear to me, but i suspect the fact that it loses
internet connectivity.
Questions:
1. Can I detect the sleep mode and recover from it programmatically?
2. To avoid restarting the app, is it possible to restart only the
networking part of the VM (not even sure if such a thing exits/feasible)?
Thanks in advance.
/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170907/8f081366/attachment.htm>
More information about the erlang-questions
mailing list