DatagramSocketGroup

trait DatagramSocketGroup[F <: ([_$1] =>> Any)]
class Object
trait Matchable
class Any
trait Network[F]

Value members

Methods

def openDatagramSocket(address: Option[Host], port: Option[Port], options: List[SocketOption], protocolFamily: Option[ProtocolFamily]): Resource[F, DatagramSocket[F]]
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