Comments (4)
没有自动重连,之前考虑到断开的原因有很多,如果目标主机更换了ip端口,可能会不断重连,还是建议在onDisconnected回调中手动处理,后续如果考虑好的话会加入这个功能。
from androidsocketclient.
有没有其他成熟的android socket框架推荐呢?
from androidsocketclient.
@vilyever 我在onDisconnected回调里,直接socketClient.connect();有时连上,有时连不上,还需要别的操作?
from androidsocketclient.
我在demo上测试没发现问题呃,你要不要看下demo和你的代码又没什么区别
from androidsocketclient.
Related Issues (20)
- 读取的时候为什么出现阻塞 HOT 1
- 请问下有没有文档之类的,或者提供个群供使用者讨论???
- 关于包头携带整个数据包长度问题 HOT 1
- ReadToData与ReadToLength怎么理解
- 如何主动断开 好像断开不了啊
- 我也发现onResponse里面压根不回调。但是服务端明明回掉数据了 HOT 1
- onResponse回调问题 HOT 2
- Android 8.0 运行时直接崩溃问题 HOT 1
- 请问作者,这套库还维护吗?快一年了。。
- 部分手机连接状态错误,无法自动disconnect
- 固定心跳包,设置后,并接受不到服务器心跳包内容,怎么处理 HOT 1
- 一直报错说没有设置setReadStrategy HOT 2
- 请问作者有群吗?》
- receiveThread 在对方连接断开或中断的情况下,继续接收问题
- 域名解析 HOT 2
- 真的不太建议大家用这个库了,3.0.2接收不到数据,2.0.1接收数据重复 HOT 1
- 3.0.1 版本 SocketInputReader.java 算法修正
- socket failed: EMFILE (Too many open files)
- java.lang.IllegalThreadStateException HOT 2
- 不太建议大家用这个库
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidsocketclient.