Comments (4)
这个是没有任何问题的,当客户端向服务端发送“bye”时,服务端会主动断开两者的通信,客户端同理。所以连不上啊,你重启一下客户端的启动类,会重新建立连接的,请仔细了解下!
from netty-learning-example.
你自己试试再说,我也是够闲的。
pipeline.addLast(new ServerHandler());
这样写才不会有问题,否则只能连一次。
from netty-learning-example.
我只能录个视频,你看下和你自己环境不一样吗?
https://james-1258744956.cos.ap-shanghai.myqcloud.com/issues/netty-helloworld.mp4
from netty-learning-example.
我已经说了这个只能运行一次,你只运行一次客户端或者启动多个客户端就连不上了。我说的不够清楚?
from netty-learning-example.
Related Issues (9)
- 请教问题
- 问个弱弱的问题? HOT 1
- mqtt connect报文
- 问个弱弱的问题? HOT 1
- 开启netty心跳的时候,mqtt客户端出现连接丢失的情况
- 请问现在支持SSL/TLS吗? HOT 5
- 请问netty+mqtt服务端集群方案如何实现 HOT 2
- mqtt工程的MqttTransportHandler HOT 13
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 netty-learning-example.