开发者

AsyncSocket in java?

开发者 https://www.devze.com 2023-03-01 14:03 出处:网络
How can I implement an AsyncSo开发者_StackOverflow中文版cket in java (specificaly on android)? If you want to do non blocking io in java without having 1 or more threads per socket, you have to use th

How can I implement an AsyncSo开发者_StackOverflow中文版cket in java (specificaly on android)?


If you want to do non blocking io in java without having 1 or more threads per socket, you have to use the java NIO libraries. There are some wrappers around NIO that make it easier to use, netty is a good example.

0

精彩评论

暂无评论...
验证码 换一张
取 消