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

Add Connection#getSocketString() method #3137

Closed
wants to merge 1 commit into from

Conversation

sazzad16
Copy link
Collaborator

@sazzad16 sazzad16 commented Sep 12, 2022

Inspiration: #3058

@sazzad16 sazzad16 added this to the 4.3.0 milestone Sep 12, 2022
@sazzad16 sazzad16 removed this from the 4.3.0 milestone Sep 13, 2022
*/
public String getSocketString() {
connect();
return "" + this.socket.getInetAddress() + ':' + this.socket.getPort();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return "" + this.socket.getInetAddress() + ':' + this.socket.getPort();
return this.socket.getInetAddress() + ':' + this.socket.getPort();

@sazzad16
Copy link
Collaborator Author

Closed by #3745

@sazzad16 sazzad16 closed this Aug 12, 2024
@sazzad16 sazzad16 deleted the connection-identifier branch August 12, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants