about summary refs log tree commit diff
path: root/src/libstd/rt/io/net/ip.rs
AgeCommit message (Collapse)AuthorLines
2013-11-11Move std::rt::io to std::ioAlex Crichton-449/+0
2013-10-09option: rewrite the API to use compositionDaniel Micay-5/+5
2013-09-30std: Remove usage of fmt!Alex Crichton-24/+8
2013-09-26Visibility fixesSteven Fackler-1/+1
2013-09-12std: Rename {Option,Result}::chain{,_err}* to {and_then,or_else}Erick Tryzelaar-1/+1
2013-09-04stop treating char as an integer typeDaniel Micay-6/+7
Closes #7609
2013-08-27librustc: Ensure that type parameters are in the right positions in paths.Patrick Walton-17/+34
This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax.
2013-08-19Derive Clone for IpAddr and SocketAddrEric Reed-2/+2
2013-08-09Fix Ipv6Addr to_str for ::1:x.x.x.x addressesStepan Koltsov-1/+8
Reported by luqmana@
2013-08-06Implement FromStr for IpAddr and SocketAddrStepan Koltsov-0/+365
Better than that in rt::uv::net, because it: * handles invalid input explicitly, without fail!() * parses socket address, not just IP * handles various ipv4-in-ipv6 addresses, like 2001:db8:122:344::192.0.2.33 (see http://tools.ietf.org/html/rfc6052 for example) * rejects output like `127.0000000.0.1` * does not allocate heap memory * have unit tests
2013-08-03Rename IpAddr -> SocketAddr, extract IpAddr from SocketAddrStepan Koltsov-12/+28
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-07-25libstd: Add ToStr impl for IpAddr.Luqman Aden-0/+42
2013-06-25IPv6 structEric Reed-2/+4
2013-06-19derived instances of Eq and TotalEq for IpAddr rather than implement them ↵Eric Reed-21/+1
manually.
2013-06-19Wrote the Eq instance of IpAddr in a slightly different way.Eric Reed-3/+3
2013-06-17added Eq and TotalEq instances for IpAddrEric Reed-0/+21
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+14
This only changes the directory names; it does not change the "real" metadata names.