Page 1 of 1

Network Thread go to sleep

Posted: Wed Dec 28, 2016 12:11 pm
by mk-soft
If the server is inactive, it takes approximately 5 seconds before the server responds to a network request.
The server runs as thread. Why is it?

Link to Server and Client: http://www.purebasic.fr/english/viewtop ... 12&t=66075

P.S. How to create a background program on macOS? (On Windows a Service)