Skip to content

How to retrieve the remote host's IP for a TCP connection on the server side? #2399

Closed
@tommikas

Description

@tommikas

I.e. after using a TCPServer instance to accept a new TCP connection, how can I retrieve the IP of the remote host? Looking at Socket, TCPServer and TCPSocket classes there doesn't seem to be an obvious mechanism for it.

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