DatagramSocketGroup
Value members
Abstract methods
def openDatagramSocket(address: Option[Host], port: Option[Port], options: List[DatagramSocketOption], protocolFamily: Option[ProtocolFamily]): Resource[F, DatagramSocket[F]]
Creates a UDP socket bound to the specified address.
Creates a UDP socket bound to the specified address.
- Value Params
- address
address to bind to; defaults to all interfaces
- options
socket options to apply to the underlying socket
- port
port to bind to; defaults to an ephemeral port
- protocolFamily
protocol family to use when opening the supporting
DatagramChannel