Giter VIP home page Giter VIP logo

Comments (5)

zhou-hao avatar zhou-hao commented on May 10, 2024

from jetlinks-community.

ws1990 avatar ws1990 commented on May 10, 2024

我看了下,网络组件那里有四种方式,1. 不处理;2. 分割符;3. 自定义脚本;4. 固定长度;我尝试过使用分割符\r\n,但是不起作用,1和4不满足需求,3不是很清楚应该怎么去写?有相关的示例吗?

from jetlinks-community.

zhou-hao avatar zhou-hao commented on May 10, 2024

from jetlinks-community.

ws1990 avatar ws1990 commented on May 10, 2024

我看了下示例的代码,老实说,看不太明白。而且我觉得,对于拆包粘包这种比较复杂的问题,通过脚本的方式去解决,总感觉有点奇怪,如果可以的话,还是希望能在自定义协议那儿提供更多的可扩展点。

from jetlinks-community.

ws1990 avatar ws1990 commented on May 10, 2024

不管怎么说,还是感谢你的回答,这个问题我先关了哈

from jetlinks-community.

Related Issues (20)

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.