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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -