about summary refs log tree commit diff
path: root/src/libstd/rt/uv/net.rs
AgeCommit message (Collapse)AuthorLines
2013-08-06Use FromStr for IpAddr in rt::uv::netStepan Koltsov-70/+2
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-3/+3
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-04auto merge of #8243 : stepancheg/rust/ipv, r=brsonbors-61/+57
multicast functions now take IpAddr (without port), because they dont't need port. Uv* types renamed: * UvIpAddr -> UvSocketAddr * UvIpv4 -> UvIpv4SocketAddr * UvIpv6 -> UvIpv6SocketAddr "Socket address" is a common name for (ip-address, port) pair (e.g. in sockaddr_in struct). P. S. Are there any backward compatibility concerns? What is std::rt module, is it a part of public API?
2013-08-03remove obsolete `foreach` keywordDaniel Micay-4/+4
this has been replaced by `for`
2013-08-03Rename IpAddr -> SocketAddr, extract IpAddr from SocketAddrStepan Koltsov-61/+57
multicast functions now take IpAddr (without port), because they dont't need port. Uv* types renamed: * UvIpAddr -> UvSocketAddr * UvIpv4 -> UvIpv4SocketAddr * UvIpv6 -> UvIpv6SocketAddr "Socket address" is a common name for (ip-address, port) pair (e.g. in sockaddr_in struct).
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-4/+5
2013-07-30std::rt: Change Thread interface to require an explicit joinBrian Anderson-4/+8
Makes it more obvious what's going on
2013-07-25libstd: Handle IPv4-Mapped/Compatible IPv6 addresses.Luqman Aden-1/+30
2013-07-25libstd: Implement {peer, socket}_name for new rt tcp & udp.Luqman Aden-11/+11
2013-07-19Missed the methods of UdpWatcher.Eric Reed-16/+14
2013-07-17test: Fix tests.Patrick Walton-3/+3
2013-07-17test: Fix tests.Patrick Walton-1/+1
2013-07-16Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764Austin King-5/+5
2013-07-09std::rt: Ignore 0-byte udp readsBrian Anderson-0/+7
2013-07-09std::rt: size_t, not u64Brian Anderson-2/+2
2013-07-08TidyBrian Anderson-5/+9
2013-07-08changed .each() to .iter().advance()Eric Reed-10/+10
2013-07-08Merge remote-tracking branch 'upstream/io' into ioEric Reed-1/+2
Conflicts: src/libstd/rt/uvio.rs
2013-07-02IPv6 support for UDP and TCP.Eric Reed-90/+329
2013-06-26changed NOTE to TODOEric Reed-4/+4
2013-06-26cleaned up uv/netEric Reed-68/+32
2013-06-25changed outdated match on IpAddrEric Reed-4/+2
2013-06-25satisfy the formatting checkEric Reed-10/+13
2013-06-25removed unncessary unsafe block that was stopping compliation.Eric Reed-1/+1
2013-06-25UDP networking with testsEric Reed-32/+114
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+2
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-19Changed visibility from being on the impl to being on methods per language ↵Eric Reed-13/+13
syntax change.
2013-06-17Merge remote-tracking branch 'upstream/io' into ioEric Reed-21/+19
Conflicts: src/libstd/rt/uvio.rs
2013-06-17added a function to convert C's ipv4 data structure into the Rust ipv4 data ↵Eric Reed-0/+8
structure.
2013-06-14Added a UdpWatcher and UdpSendRequest with associated callbacksEric Reed-2/+172
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-3/+3
Part of #3853
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-18/+16
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+436
This only changes the directory names; it does not change the "real" metadata names.