One way to achieve this is to use the long survey method.
The client opens a connection to the server, but instead of instantly returning the result, the server keeps the connection for a certain period of time and delays its response.
- , ( , ...), , , . , , -, .
, .
Java . , .
, , SO:
-/ , , 10 -, " ", - , "".