Android Question multiple sockets with different ports and IPs are active at the same time

david7374

Member
Hi Erel,
I want to make an application where multiple sockets with different ports and IPs are active at the same time.
I did it by creating and calling 30 sockets like below and it works
But the solution doesn't seem logical and I want it to be done in such a way that we don't have a limit on the number of sockets.
The point is that I want the sockets to be active at the same time, if not, this can easily be done by detaching the previous socket and creating a new one.
Thanks
 

Attachments

  • sockets.zip
    64.5 KB · Views: 18
Top