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

brynet能否支持同步发送数据,阻塞式接收?并支持recv超时 #136

Open
qht1003077897 opened this issue Nov 15, 2022 · 1 comment

Comments

@qht1003077897
Copy link

No description provided.

@IronsDu
Copy link
Owner

IronsDu commented Nov 15, 2022

无法支持同步。
需要封装异步API(比如在send完成回调里唤醒条件变量)来实现同步。类似这个同步connect的实现:https://github.com/IronsDu/brynet/blob/master/include/brynet/net/wrapper/ConnectionBuilder.hpp#L189

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