11 Commits

Author SHA1 Message Date
Taylor Cramer
b4fa47bd09 Set Future types as must_use 2017-10-25 17:57:25 -07:00
Alex Crichton
84916f66fd Take &SocketAddr in connect 2017-10-05 10:47:57 -07:00
Ben Boeckel
de33e02c01 docs: fix some typos 2017-09-14 16:19:45 -04:00
Bastian Köcher
c80105fe1e Adds UdpSocket connect, send and recv methods 2017-09-12 14:00:55 +02:00
arthurprs
f12b761b77 Prefer ErrorKind::WouldBlock 2017-09-03 18:39:04 +02:00
Alex Crichton
77d9a1aa4f Merge pull request #226 from Ralith/udp-dual-stack
Expose only_v6 option for UDP sockets
2017-08-17 13:05:31 -07:00
Raph Levien
05b1ba4342 [fuchsia] Config changes to build on Fuchsia
This patch disables various Unix-specific platform features that are
not enabled on Fuchsia. It also updates the mio version to 0.6.10,
which is the first release that supports Fuchsia.
2017-07-31 14:12:53 -07:00
Benjamin Saunders
8004900ce9 Expose only_v6 option for UDP sockets 2017-06-25 22:56:52 -07:00
Alex Crichton
b92fd2d22a Update to latest mio version 2017-05-19 10:00:57 -07:00
Alex Crichton
89fcc96dd4 Migrate to using tokio-io
Deprecate the existing `io` module in this crate entirely.

More details coming soon!

Closes #61
2017-03-15 09:46:54 -07:00
Alex Crichton
9b62ade962 Touch up codes for UDP
* Move to `std::net` as it's all purely UDP related
* Rename to `UdpCodec` and `UdpFramed` to give a consistent `Udp` prefix
* Add `RecvDgram`, rename `SendDGram` to `SendDgram`
* Touch up some style here and there
2016-11-22 11:48:09 -08:00