I have created a Socket in android. there is a method called
socket.setKeepAlive(true);
but unfortunately, there is no option to set Interval, Timeout and Retry Count.
How to achieve that with the keep-alive socket.
I have created a Socket in android. there is a method called
socket.setKeepAlive(true);
but unfortunately, there is no option to set Interval, Timeout and Retry Count.
How to achieve that with the keep-alive socket.