Skip to content

Polling networking#179

Open
davidv1992 wants to merge 4 commits into
mainfrom
polling-networking
Open

Polling networking#179
davidv1992 wants to merge 4 commits into
mainfrom
polling-networking

Conversation

@davidv1992

Copy link
Copy Markdown
Member

No description provided.

This allows a thread to more easily wait for packets on multiple sockets
at the same time.
The new approach allows polled sending, as well as separating off send
timestamps. Unfortunately, timestamp reception still requires a future
to be created, as it is currently impossible to poll for error queue
readyness.
@davidv1992 davidv1992 force-pushed the polling-networking branch from 90b8eaa to 7f7ddf0 Compare May 28, 2026 11:44
This allows it to be kept around in datastructures for emulating poll
functionality, without running into self-referential struct problems.
This is needed as tokio's AsyncFd doesn't support poll for the Error
interest, only Read and Write.
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