-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 6, 8, 9
-
Component/s: core-libs
-
generic
-
generic
DatagramSocket( int port ) & DatagramSocket( int port, InetAddress ) constructors documentation doesn't contain information about port parameter special value 0.
(As far as I know, if a user pass 0 as port parameter, socket is binded to any available port)
The same problem exists in java.net.Socket class description.
(As far as I know, if a user pass 0 as port parameter, socket is binded to any available port)
The same problem exists in java.net.Socket class description.