Provides the ability to read/write from a UDP socket in the effect F
.
Attributes
- Companion
- object
- Source
- DatagramSocket.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait DTLSSocket[F]
Members list
Type members
Classlikes
Result of joining a multicast group on a UDP socket.
Result of joining a multicast group on a UDP socket.
Attributes
- Source
- DatagramSocket.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Joins a multicast group on a specific network interface.
Joins a multicast group on a specific network interface.
Value parameters
- interface
-
network interface upon which to listen for datagrams
- join
-
group to join
Attributes
- Source
- DatagramSocket.scala
Returns the local address of this udp socket.
Reads a single datagram from this udp socket.
Reads datagrams received from this udp socket.
Reads datagrams received from this udp socket.
Note that multiple reads
may execute at same time, causing each evaluation to receive fair amount of messages.
Attributes
- Returns
-
stream of datagrams
- Source
- DatagramSocket.scala
Writes a single datagram to this udp socket.
Writes a single datagram to this udp socket.
Value parameters
- datagram
-
datagram to write
Attributes
- Source
- DatagramSocket.scala
Writes supplied datagrams to this udp socket.