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

[ADDED] Conn.ConnectedAddr() #426

Merged
merged 1 commit into from
Jan 17, 2019
Merged

[ADDED] Conn.ConnectedAddr() #426

merged 1 commit into from
Jan 17, 2019

Conversation

kozlovic
Copy link
Member

This returns the RemoteAddr().String() of the server the connection
is currently connected to.
That is, say server is running on loopback port 4222, this call
would return: "127.0.0.1:4222"

Signed-off-by: Ivan Kozlovic [email protected]

This returns the RemoteAddr().String() of the server the connection
is currently connected to.
That is, say server is running on loopback port 4222, this call
would return: "127.0.0.1:4222"

Signed-off-by: Ivan Kozlovic <[email protected]>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 92.965% when pulling e37cb12 on add_connected_addr into 189cbde on master.

@kozlovic kozlovic merged commit abeb2b1 into master Jan 17, 2019
@kozlovic kozlovic deleted the add_connected_addr branch January 17, 2019 02:58
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.

3 participants