We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! 感谢作者开源!作为C语言初学者阅读您的源码受益匪浅!
我使用的是epoll版本的server,我发现客户端发送消息后,另一个订阅相同主题的客户端无法获取该主题下的消息。
查阅了源码,发现是 void mqtt_do_publish_msg(const uint8 *buf, int sockfd)中并没有根据主题寻找对应的文件描述符(look_up_by_sokfd只是根据传入的sockfd寻找链表中对应的socket_record)。
针对这个问题,不知您是否有想过解决思路,希望与您探讨
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
感谢作者开源!作为C语言初学者阅读您的源码受益匪浅!
我使用的是epoll版本的server,我发现客户端发送消息后,另一个订阅相同主题的客户端无法获取该主题下的消息。
查阅了源码,发现是 void mqtt_do_publish_msg(const uint8 *buf, int sockfd)中并没有根据主题寻找对应的文件描述符(look_up_by_sokfd只是根据传入的sockfd寻找链表中对应的socket_record)。
针对这个问题,不知您是否有想过解决思路,希望与您探讨
The text was updated successfully, but these errors were encountered: