Asyncsocket in Java?

How to implement asyncsocket (Android specific) in Java?

Solution

If you want non blocking IO in Java instead of one or more threads per socket, you must use the Java NiO library NiO has some packaging around it to make it easier to use. Netty is a good example

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
分享
二维码
< <上一篇
下一篇>>