Ok, finally even the main loop concept with "loop_once" does not work, as the main loop is blocked too much. My only current solution is to create the websocket server via threads, which works quite well. I was concerned about memory, as threads are copying a lot of stuff, but as I will create only 1 I think I can live with it.
Thanks anyways
In reply to Re^2: Net::Async::WebSocket::Server in a separate main loop
by Talkabout
in thread Net::Async::WebSocket::Server in a separate main loop
by Talkabout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |