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 - IIFE: var vs this - is there any difference? -

r - Grow a ffdf data frame on disk gradually -