[erlang-questions] Erlang and sleep mode under Windows

Frank Muller <>
Thu Sep 7 06:49:07 CEST 2017


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.

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170907/8f081366/attachment.html>

More information about the erlang-questions mailing list