summary refs log tree commit diff
path: root/library/std/src/sys/windows/net.rs
AgeCommit message (Collapse)AuthorLines
2021-08-30clean up `c::linger` conversionibraheemdev-1/+1
2021-08-30add `TcpStream::set_linger` and `TcpStream::linger`ibraheemdev-1/+16
2021-08-19I/O safety.Dan Gohman-36/+70
Introduce `OwnedFd` and `BorrowedFd`, and the `AsFd` trait, and implementations of `AsFd`, `From<OwnedFd>` and `From<T> for OwnedFd` for relevant types, along with Windows counterparts for handles and sockets. Tracking issue: - <https://github.com/rust-lang/rust/issues/87074> RFC: - <https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md>
2021-05-28Refactor windows sockets impl methodsMichael-133/+172
2021-04-22Apply suggestions from reviewChristiaan Dirkx-5/+8
2021-04-22Rework `at_exit` to `cleanup`Christiaan Dirkx-5/+7
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+1
2021-04-18Add and insta-stabilize `std::io::ErrorKind::NotSupported`Christiaan Dirkx-1/+1
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-6/+6
2020-07-27mv std libs to library/mark-0/+438