Giter Site home page Giter Site logo

Comments (4)

sanshengshui avatar sanshengshui commented on April 28, 2024

这个是没有任何问题的,当客户端向服务端发送“bye”时,服务端会主动断开两者的通信,客户端同理。所以连不上啊,你重启一下客户端的启动类,会重新建立连接的,请仔细了解下!

from netty-learning-example.

scneuzb avatar scneuzb commented on April 28, 2024

你自己试试再说,我也是够闲的。
pipeline.addLast(new ServerHandler());
这样写才不会有问题,否则只能连一次。

from netty-learning-example.

sanshengshui avatar sanshengshui commented on April 28, 2024

我只能录个视频,你看下和你自己环境不一样吗?

https://james-1258744956.cos.ap-shanghai.myqcloud.com/issues/netty-helloworld.mp4

from netty-learning-example.

scneuzb avatar scneuzb commented on April 28, 2024

我已经说了这个只能运行一次,你只运行一次客户端或者启动多个客户端就连不上了。我说的不够清楚?

from netty-learning-example.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.