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

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -