Skip to content
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

mqtt 同时发布消息的时候会丢失后面的消息 #50

Open
iAoe444 opened this issue Oct 15, 2022 · 0 comments
Open

mqtt 同时发布消息的时候会丢失后面的消息 #50

iAoe444 opened this issue Oct 15, 2022 · 0 comments

Comments

@iAoe444
Copy link

iAoe444 commented Oct 15, 2022

原因是并发时会同时将数据放置在管道里,但是没有把包区分开来,下一次发数据的时候把所有的数据都发出去了,所以应该在管道处表明有多少条数据,每条数据的长度多少

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant