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

void SCStatusTcp::receiveTcpReadyRead() #1

Open
MaZhengg opened this issue Nov 3, 2017 · 3 comments
Open

void SCStatusTcp::receiveTcpReadyRead() #1

MaZhengg opened this issue Nov 3, 2017 · 3 comments

Comments

@MaZhengg
Copy link

MaZhengg commented Nov 3, 2017

            //如果返回数据长度值 大于 已读取数据长度 表示数据还未读取完整,跳出循环等待再次读取.
            if (data_size > remaining_size) {
                _lastMessage = message;

                break;
            }else{//返回数据长度值 大于等于 已读取数据,开始解析
                QByteArray tempMessage;
                ...........
            }

注释中“//返回数据长度值 大于等于 已读取数据,开始解析”是否应该是“//返回数据长度值 小于等于 已读取数据,开始解析”?? 谢谢

@ye-ys
Copy link
Member

ye-ys commented Nov 3, 2017

是的,感谢纠正

@ye-ys
Copy link
Member

ye-ys commented Nov 3, 2017

@MaZhengg 同学你好,请问你是做 SLAM 的吗?

@MaZhengg
Copy link
Author

MaZhengg commented Nov 3, 2017

学习中,还不怎么熟悉

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

2 participants