multithreading - shared tcp socket android service -


in android application define service communicate server.

question : can use same tcp socket in 2 thread's receiving , sending data simultaniosly ?

thanks.

two threads can use same socket 1 thread reading socket , other writing. if try read , write both threads have conflicts.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -