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

Async Connect #70

Open
msherman13 opened this issue Jul 17, 2020 · 0 comments
Open

Async Connect #70

msherman13 opened this issue Jul 17, 2020 · 0 comments

Comments

@msherman13
Copy link

Is your feature request related to a problem? Please describe.
The tcp_client_iface class support asynchronous read and write, but async_connect and async_disconnect are not implemented. this forces the user to mix sync and async code, and synchronous reconnect is not suitable for many event-based applications

Describe the solution you'd like
Add async_connect and async_disconnect to the client

Describe alternatives you've considered
considered using synchronous connect and disconnect, but it blocks the other components on my event loop

Additional context
Using boost asio

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