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

Implement native UDP I/O #11186

Merged
merged 1 commit into from
Jan 1, 2014
Merged

Implement native UDP I/O #11186

merged 1 commit into from
Jan 1, 2014

Conversation

alexcrichton
Copy link
Member

I personally do not have huge amounts of experience in this area, so there's likely a thing or two wrong around the edges. I tried to just copy what libuv is doing as closely as possible with a few tweaks in a few places, but all of the std::io::net::udp tests are now run in both native and green settings so the published functionality is all being tested.

// UDP
////////////////////////////////////////////////////////////////////////////////

pub struct UdpStream {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, but representing UDP as a stream seems unusual.

bors added a commit that referenced this pull request Jan 1, 2014
I personally do not have huge amounts of experience in this area, so there's likely a thing or two wrong around the edges. I tried to just copy what libuv is doing as closely as possible with a few tweaks in a few places, but all of the `std::io::net::udp` tests are now run in both native and green settings so the published functionality is all being tested.
@bors bors closed this Jan 1, 2014
@bors bors merged commit bba78a2 into rust-lang:master Jan 1, 2014
@alexcrichton alexcrichton deleted the native-udp branch January 1, 2014 21:28
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.

3 participants