Module kapiti::listen_udp

source ·
Expand description

Listens to a UDP socket for incoming requests, adding them to a channel.

Functions

  • Handles a single UDP request from a client reachable via udp_sock, using buf for storage.
  • Listens for UDP requests until an accept fails or the channel sender is closed.