RFR: 8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Oct 9 11:23:13 UTC 2019
Hi Mark,
On 09/10/2019 10:44, mark sheppard wrote:
> Would it be instantaneously available after its release by the kernel,
> or subject to TTL lifetime?
The fact that DatagramSocket has been doing that for years
and that we haven't had any issue so far suggests that
the case where rebind would fail are very rare.
That - or nobody uses connect/disconnect/connect :-)
best regards,
-- daniel
More information about the net-dev
mailing list