Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple UDP stream support #225

Open
lizajoseph opened this issue Sep 27, 2024 · 1 comment
Open

multiple UDP stream support #225

lizajoseph opened this issue Sep 27, 2024 · 1 comment

Comments

@lizajoseph
Copy link

Can this design be scaled up to support multiple streams? I would like to use this design to consume 2 or more UDP streams, is it possible to update the existing design for this ?

@cube1us
Copy link

cube1us commented Feb 9, 2025

Though I am not 100% positive, but I think it should work if you consume the UDP packets fast enough. Say, for example, you want to match on two different ports. So, when you match one or the other, you copy the FIFO to the appropriate consumer, and then go back and listen again.

My experience that leads to this conclusion was that when I was working with it when I was testing my application, I accidentally didn't consume (throw away) a bunch of UDP packets that preceded a needed ARP response packet to resolve a sender's IP address, and the UDP receive FIFO filled up and the ARP packet got lost.

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

No branches or pull requests

2 participants