java Websocket 服务器 Android
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14145421/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Websocket Server Android
提问by Zwade
Does anyone know of a free/open source websocket server that can be used for android? A light-weight Java one (hopefully) would work as well.
有谁知道可用于 android 的免费/开源 websocket 服务器?一个轻量级的 Java(希望如此)也能工作。
回答by mfrankli
github.com/TooTallNate/Java-WebSocketis a good implementation. It handles the connections in threads, and is relatively easy to use and lightweight.
github.com/TooTallNate/Java-WebSocket是一个很好的实现。它处理线程中的连接,并且相对易于使用且重量轻。