Skip to content

After the bind() function call is completed, we can get the local port #593

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jacksliwen
Copy link

After the bind() fuAfter the bind() function call is completed, we can get the local port, so we can set the port in advancenction call is completed, we can get the local port

Signed-off-by: jacksliwen <jacksliwen@163.com>
Copy link
Contributor

@007herelsp 007herelsp left a comment

Choose a reason for hiding this comment

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

Looks good to me

@duartenfonseca
Copy link
Collaborator

@Jacksliwen what was this intended to fix? Can you give an example where this would be helpful?

@duartenfonseca
Copy link
Collaborator

@Jacksliwen can you give a reason why this change is useful? an use case?

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