Categories
Mastering Development

impossible to use Socket and httpURLConnection in android simultaniously

is like android is impossible to handle both Socket.connect() and httpURLConnection at the same time in the same events .

i’m trying to connect to differents servers there is not error even in logcast but only one function is going throught especially the first to be called even i inverse the position of functions

how to make the two methods work in the same events ? thanks for your support

Leave a Reply

Your email address will not be published. Required fields are marked *