java - Android - "reuse" TCP Client? -


i want android client connect on startup, , use same tcp connection send , receive data every few seconds. how do this?
tried declaring global socket , using asynctask send data every second. checked server , client sent single message.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -