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

turmoil::net::UdpSocket is not API compatible with tokio::net::UdpSocket #220

Open
howderek opened this issue Feb 11, 2025 · 1 comment
Open

Comments

@howderek
Copy link

I am trying to use turmoil to simulate a UDP load balancer, but I am not able to use turmoil::net::UdpSocket instead of tokio::net::UdpSocket without rewriting components of the load balancer.

Two issues I have run into so far is turmoil::net::UdpSocket::send is private and turmoil::net::UdpSocket::connect does not exist, while in tokio::net::UdpSocket, connect and send are both public methods of UdpSocket.

@mcches
Copy link
Contributor

mcches commented Feb 14, 2025

These still need to be implemented. UDP hasn't been as prioritized as TCP. You are welcome to pick up this work and submit a PR for the methods you need.

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