Network Thread go to sleep

Mac OSX specific forum
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Network Thread go to sleep

Post 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)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive