<Android TCP client trying to connect to server> I...
# stackoverflow
u
Android TCP client trying to connect to server I am trying to make a TCP client that will try to connect to a server. If the server cannot be reached then it must retry after a fixed time. If the connection is lost then it should try to re-connect again. When connected it should be able to read data from the server (ASCII strings). This piece of code is not working as intended [App crashing without a server]. How can I fix it? (Note: Server is extremely unreliable and cannot expect gracefully disconnect) package com.thinkalvb.sensorstorm...