I'm currently trying to evaluate whether it is possible to implement a project for Android. One of the main problems I see is that since this is a P2P client, we would have to support a significant number of connections at startup. Now connections do not transmit large amounts of data, it is rather a messaging system, so having a stream for each connection creates unnecessary overhead if we read one message each of 64 bytes each time.
So I was wondering if there is support for blocking IO, such as select () or poll () on Linux.
Any suggestion?
source
share