Skip to content

net.Conn: Return real addresses #327

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

Closed
edisonwsk opened this issue Jan 25, 2022 · 2 comments
Closed

net.Conn: Return real addresses #327

edisonwsk opened this issue Jan 25, 2022 · 2 comments
Milestone

Comments

@edisonwsk
Copy link

How to get LocalAddr or RemoteAddr?now returns “websocket/unknown-addr ”

@nhooyr
Copy link
Contributor

nhooyr commented Mar 5, 2023

Right now it's hardcoded as websocket/unknown-addr but I suppose I could make it return the real addresses.

Related #331

@nhooyr nhooyr changed the title How to get LocalAddr ? net.Conn: Return real addresses Mar 6, 2023
@nhooyr nhooyr added this to the v1.9.0 milestone Sep 28, 2023
@nhooyr nhooyr modified the milestones: v1.9.0, v1.8.8 Oct 13, 2023
@nhooyr
Copy link
Contributor

nhooyr commented Oct 13, 2023

Dealt with in #299

To the current extent possible anyway. See PR for the caveat.

@nhooyr nhooyr closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants