Skip to content

Access to remote_endpoint information inside bound functor #299

@lflobo

Description

@lflobo

In my case I need the address/port of the remote endpoint (client) for connection tracking purposes.

I noticed the underlying server::impl logs the address obtained from the socket_.remote_endpoint().

Is there any way of accessing this information inside a functor?

Thanks in advance.
LL

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