Skip to content

Feat(backend, net, udp): UDP completed module - #673

Open
GaziH wants to merge 1 commit into
backend/netfrom
backend/net-udp
Open

GaziH wants to merge 1 commit into
backend/netfrom
backend/net-udp

Conversation

@GaziH

@GaziH GaziH commented Nov 8, 2026

Copy link
Copy Markdown

Add UDP module. Complete with a ring buffer.

Implement a two-stage receive architecture.

Add decoding against the ADJ Index, with fatal error for malformed datagrams or socket resets.

Unit tests.

ISSUES: Revise unit tests as I am not sure what to do in some places

Add UDP module supporting socket binding with configurable OS-level `SO_RCVBUF` size.
Implement a two-stage receive architecture using a bounded Tokio `mpsc` channel to decouple the fast network read loop from the processing path.
Add robust decoding against the ADJ `Index`, with fatal error reporting for malformed datagrams or socket resets.
Include a comprehensive unit test suite covering valid datagram decoding, unknown packet ID error reporting, EOF handling, and `Copy` semantics for configuration.
@GaziH GaziH self-assigned this Nov 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant