about summary refs log tree commit diff
path: root/src/libstd/sys_common/net.rs
AgeCommit message (Collapse)AuthorLines
2017-03-25Fix libc::bind call on aarch64-linux-androidMarco A L Barbosa-2/+2
2017-02-04libstd/net: Add `peek` APIs to UdpSocket and TcpStreamTyler Julian-11/+13
These methods enable socket reads without side-effects. That is, repeated calls to peek() return identical data. This is accomplished by providing the POSIX flag MSG_PEEK to the underlying socket read operations. This also moves the current implementation of recv_from out of the platform-independent sys_common and into respective sys/windows and sys/unix implementations. This allows for more platform-dependent implementations.
2016-11-01std: Move sys_common to libstd/sys_commonBrian Anderson-0/+633
Make the directory structure reflect the module structure. I've always found the existing structure confusing.