Add support for iovec for UDP send in folly::AsyncUDPSocket
authorNaizhi Li <naizhi@fb.com>
Fri, 13 Mar 2015 17:32:19 +0000 (10:32 -0700)
committerAndre Azevedo <aap@fb.com>
Wed, 18 Mar 2015 03:18:45 +0000 (20:18 -0700)
commit383ffb3428e8b4f4963b7711b6ecd7ed4a17c228
tree6f5d82740ba2f882e7482c4e505b61ef269cf670
parentefca08ae72f06fb6d2ba6941600f459d3e7bcc62
Add support for iovec for UDP send in folly::AsyncUDPSocket

Summary:
I will be using multi-buf UDP send soon, so adding the
support in folly::AsyncUDPSocket

Test Plan: Unit tests and turn server

Reviewed By: davejwatson@fb.com

Subscribers: trunkagent, folly-diffs@, yfeldblum

FB internal diff: D1907189

Signature: t1:1907189:1426266951:046198e0a009fef085ac7eb44f054c67dfb16ba3
folly/io/IOBuf.cpp
folly/io/IOBuf.h
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncUDPSocket.cpp