Skip to content

Commit

Permalink
Introduce UDP net.PacketListener
Browse files Browse the repository at this point in the history
Introduces a UDP based net.PacketListener that allows for routing UDP
datagrams based on remote address _or_ an alternate identifier. It is
configured by the DatagramRouter and ConnectionIdentifier functions,
which are provided by the caller. The former introspects outgoing
datagrams for potential connection identifiers, while the latter routes
incoming datagrams by introspecting their contents. This package borrows
heavily from pion/transport/udp.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
  • Loading branch information
hasheddan committed Aug 27, 2023
1 parent 3afeb7d commit 71db42b
Showing 1 changed file with 407 additions and 0 deletions.
Loading

0 comments on commit 71db42b

Please sign in to comment.