Descriptionnacl_io: Add SOCK_DGRAM support to socketpair()
Change UnixEventEmitter to use a generic FIFOInterface instead of
FIFOChar specifically. Add bytewise Read() and Write() methods to
the former interface so that subclasses can handle both stream and
datagram based communication. For SOCK_DGRAM, use the FIFOPacket
class as the backend instead of FIFOChar.
BUG=584925
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_nacl_sdk;tryserver.chromium.mac:mac_nacl_sdk;tryserver.chromium.win:win_nacl_sdk
Committed: https://crrev.com/bbf1e34ff094449db2c1d738067cd6ffbaf66134
Cr-Commit-Position: refs/heads/master@{#374248}
Patch Set 1 #Patch Set 2 : fix unit test failure #Patch Set 3 : fix unit test failure #
Total comments: 8
Patch Set 4 : code review feedback #Messages
Total messages: 12 (5 generated)
|