fs2.io.udp

package fs2.io.udp

Type members

Classlikes

final case class Packet(remote: InetSocketAddress, bytes: Chunk[Byte])

A single packet to send to the specified remote address or received from the specified address.

A single packet to send to the specified remote address or received from the specified address.

Value Params
bytes

data to send/receive

remote

remote party to send/receive packet to/from

trait Socket[F[_]]

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.

To construct a Socket, use the methods in the fs2.io.udp package object.

final class SocketGroup(asg: AsynchronousSocketGroup, blocker: Blocker)
Companion
object
object SocketGroup
Companion
class