Java – asynchronous socket I / O on Android
•
Java
Is there a good mechanism for asynchronous I / O using sockets on Android?
I know the existence of NiO channel, but it doesn't apply to me because I need to be able to use multicastsockets and Bluetooth sockets, which don't support channels
I know the answer may not be one, but since it is a considerable job, I thought I would ask first If someone knew about a decent third-party library, I might use
Solution
Except NiO, I don't know any built-in options for this question, but this has an interesting answer to this question
Look at it. Maybe a third-party library will help you Asynchronous IO in Java?
I don't know how these libraries work on Android. You may need to get Android ready to work properly
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码