I am trying to connect multiple android devices, but it is working for 2 devices (Server < -- > Client communication), I want to achieve multiple client connected to server at a time all, i.e One android device as a server and other as clients.
I am following this code
https://stackoverflow.com/a/13510591/8647372
but its not getting connected, getting this error
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
Please help, trying from long time...