Crate udp_polygon

source ·
Expand description

udp-polygon

udp-polygon is a library that allows to send and receive UDP packets.

It can be configured in many ways, using toml, args, or env vars.

It also supports retransmission of packets, using timers.

Requirements

  • the consumer requires tokio
  • a producer does not require anything extra
  • a producer with the timer flag enabled requires tokio

Modules

  • This is the configuration module. It allows to configure the lib, using toml, args, or env vars.

Structs

  • Polygon is a UDP socket that can send and receive data. It can be configured by using the configure method.