0

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.

Parth Bhatti
  • 418
  • 1
  • 6
  • 18

0 Answers0