-
Notifications
You must be signed in to change notification settings - Fork 494
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
Get remote IP for current connection #487
Comments
Not currently. In theory we could expose this for TCP and UDP connections, but for WebSocket we actually don't know what IP we're connected to - name resolution is handled internally through WinHTTP on Windows, and is similarly done through the CoreFX implementations on .NET Core Linux/macOS. |
Okay, so if I wanted to expose this in my own fork, I just need to expose
and expose
through CurrentEndPoint .
Does that sound about right? |
Sounds about right. The second part should have already been done here... |
This issue was closed incorrectly, #704 added |
I'd like to report the remote IP for telemetry purposes. I'm connecting through TCP. Is it possible to get the remote IP for the current connection? From looking through the code, it doesn't appear to be publicly exposed.
The text was updated successfully, but these errors were encountered: