Skip to content
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

Try to get host and port for connections in all cases #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pfrazee
Copy link
Contributor

@pfrazee pfrazee commented Nov 17, 2016

This PR populates the info.host and info.port that's given to the _stream method, even if there's no peer info given.

@mafintosh per our discussion on IRC, is there a way to get the remote address from the utp connection? I'm using connection.address(), but it looks like that might give the local addr

@mafintosh
Copy link
Owner

I think we are missing a .remoteAddress() function in utp. I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants