Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Binding a socket to a local port when it is not specifically specified. #37

Closed
ClaesNilsson opened this issue Aug 27, 2013 · 1 comment

Comments

@ClaesNilsson
Copy link
Contributor

[Patrick]

  • "bind the socket to any available randomly selected local port" -
    its not clear you want to say randomly here. Sometimes local ports are
    assigned sequentially according to availability.

[Ke-Fong]: The intended meaning : Use standard behavior of socket,
bind to one of those ephemeral ports they way bind() does it when given port as zero.
By "random", it rather meant let the system decide.

[Claes] Yes, this is basically what I mean so I will improve the wording here.

@anotherlin
Copy link

Then we can close this issue ?

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

No branches or pull requests

2 participants