DatagramSocket
Provides the ability to read/write from a UDP socket in the effect F
.
Provides the ability to read/write from a UDP socket in the effect F
.
Type members
Classlikes
trait GroupMembership
Result of joining a multicast group on a UDP socket.
Result of joining a multicast group on a UDP socket.
Value members
Abstract methods
Joins a multicast group on a specific network interface.
Joins a multicast group on a specific network interface.
- Value Params
- interface
network interface upon which to listen for datagrams
- join
group to join
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.
- Returns
stream of datagrams