Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP 客户端自动重连的问题 #631

Open
hh-kai opened this issue Oct 15, 2024 · 0 comments
Open

TCP 客户端自动重连的问题 #631

hh-kai opened this issue Oct 15, 2024 · 0 comments

Comments

@hh-kai
Copy link

hh-kai commented Oct 15, 2024

TCP客户端在服务端不在线时连接 会触发重连 待服务端在线了 也会自动连接
连接后
如果服务端断开 拔掉网线、非主动断开等
TCP客户端不会触发自动重连
我加了心跳之后 在服务端非法断开后 尝试使用start()、startReconnect() 让它触发自动重连 都没有生效
我该怎么做才能让客户端进入重连状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant