Coder Social home page Coder Social logo

报文中掺杂额外字节 about rsock HOT 8 OPEN

iceonsun avatar iceonsun commented on May 26, 2024
报文中掺杂额外字节

from rsock.

Comments (8)

wkgcass avatar wkgcass commented on May 26, 2024 9

你看人家理你吗

github不是朋友圈

from rsock.

itblingfeng avatar itblingfeng commented on May 26, 2024 1

你看人家理你吗

from rsock.

wkgcass avatar wkgcass commented on May 26, 2024

另外我怀疑如果只开一个tcp通道,多个udp口同时写会有并发问题(数据错乱),表现是这样:
我的应用在KCP之上还带了TLS加密,有时会报Tag错误。不用rsock udp直连不会有问题。开了多个tcp通道(数量远多于udp口时)没有看到这样的异常。

from rsock.

wkgcass avatar wkgcass commented on May 26, 2024

我目前暂时把这样特征的字节段跳过了,并且开了多个tcp通道
https://gist.github.com/wkgcass/9fb70d8c4f5312ef7727ec7542f982fa
暂时是能用了

from rsock.

iceonsun avatar iceonsun commented on May 26, 2024

上班忙。理解**。我抽空看看哈

from rsock.

iceonsun avatar iceonsun commented on May 26, 2024

另外我怀疑如果只开一个tcp通道,多个udp口同时写会有并发问题(数据错乱),表现是这样:
我的应用在KCP之上还带了TLS加密,有时会报Tag错误。不用rsock udp直连不会有问题。开了多个tcp通道(数量远多于udp口时)没有看到这样的异常。

f268b10bd0083eed1700b6bc82180c30f129e400000045e318370000000000

你server/client端的mac地址是不是f2:xx?

from rsock.

wkgcass avatar wkgcass commented on May 26, 2024

当时用的设备在公司,下周一复工了去看看

from rsock.

wkgcass avatar wkgcass commented on May 26, 2024

另外我怀疑如果只开一个tcp通道,多个udp口同时写会有并发问题(数据错乱),表现是这样:
我的应用在KCP之上还带了TLS加密,有时会报Tag错误。不用rsock udp直连不会有问题。开了多个tcp通道(数量远多于udp口时)没有看到这样的异常。

f268b10bd0083eed1700b6bc82180c30f129e400000045e318370000000000

你server/client端的mac地址是不是f2:xx?

不是的

from rsock.

Related Issues (15)

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.