-
Notifications
You must be signed in to change notification settings - Fork 77
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
你好,我运行在局域网中,客户端调用方法sendMsgToServer(byte[] data, final MessageStateListener listener)向服务端发消息时会一直断开重连循环,请问怎么解决? #21
Comments
那要考虑,是不是数据格式问题,导致服务端强制断开了连接 |
在客户端我使用方法sendMsgToServer(String data, ChannelFutureListener listener)向服务端发送数据是可以的,请问不可以直接发送字节数组类型的数据吗? |
哦哦,明白了,这个你要自己改一下源码,看一下,NettyTcpClient
|
我又新开了分支develop_2.0,支持byte[]格式,你可以参考一下 |
mNettyTcpClient = new NettyTcpClient.Builder() |
Thanks for your message
|
No description provided.
The text was updated successfully, but these errors were encountered: