public interface DatagramSocketFactory
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
createUnboundDatagramSocket()
Creates an unbound DatagramSocket:
- i.e return new DatagramSocket((SocketAddress) null).
|
DatagramSocket createUnboundDatagramSocket() throws SocketException
SocketException
- if the socket could not be opened.Copyright © 2018. All rights reserved.