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

[Question]如何从Server类中发送数据 #278

Open
zh1an opened this issue Nov 28, 2022 · 0 comments
Open

[Question]如何从Server类中发送数据 #278

zh1an opened this issue Nov 28, 2022 · 0 comments

Comments

@zh1an
Copy link

zh1an commented Nov 28, 2022

tcp::Server 类没有记录 Connection 对象的功能,当 on_connection 创建了 Connection 对象,只能在回调函数里边进行发送。如果 Server 想要向 Connection 发送数据时,无法找到 Connection

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