Skip to content

Incorrect Remote port returned #320

@enzobet

Description

@enzobet

We use the remote port of the client to determine the buffers on the network stack. This is to determine if we should start decimating the data we are streaming to the client.
However, the port returned by the library was not found in the list of connections found by netstat -tupan or ss -tan.

Upon further investigation, we found that the library was returning the port byte code and not the port number.
I am creating a pull request which will return the port number correctly.
The functionality was copied from the ASIO library though.

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