DatagramSocketGroup

fs2.io.net.DatagramSocketGroup

Attributes

Source:
DatagramSocketGroup.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Network[F]

Members list

Concise view

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.

Attributes

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

Source:
DatagramSocketGroup.scala