Skip to content

Ephemeral port#25

Closed
ibauersachs wants to merge 1 commit into
masterfrom
ephemeral-port
Closed

Ephemeral port#25
ibauersachs wants to merge 1 commit into
masterfrom
ephemeral-port

Conversation

@ibauersachs

Copy link
Copy Markdown
Member

No description provided.

bind_random((InetSocketAddress) addr);
if (bound)
return;
boolean useEphemeralPort = Boolean.parseBoolean(System.getProperty(UDPCLIENT_DEFAULT_TO_EPHEMERAL_PORT, "false"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: parseBoolean was introduced in Java 1.5. Is there a plan to go forward with bumping the minimum target?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is just a backup of a patch from Sourceforge. But yes, I'll update the target to 1.5 as the code already uses some 1.5 stuff.

@ibauersachs ibauersachs deleted the ephemeral-port branch January 19, 2020 14:41
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.

2 participants