Skip to content

Async Connect #70

@msherman13

Description

@msherman13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions