DescriptionAdd UDP support to dart:io
Initial implementation of UDP support in dart:io
Added a RawDatagramSocket which gets the same events as a RawSocket
except that READ_CLOSED is never received.
The receive from a RawDatagramSocket returns a Datagram object where
the senders address and port is presten together with the data.
The send on a RawDatagramSocket takes data and the address and port of
the destination.
Extended the number of socket options to support UDP.
Added getting the socket options.
R=ajohnsen@google.com
BUG=http://dartbug.com/1975
Committed: https://code.google.com/p/dart/source/detail?r=31098
Patch Set 1 #
Total comments: 20
Patch Set 2 : Addressed first round of comments #
Total comments: 30
Patch Set 3 : Addressed review comments #Patch Set 4 : Rebased to r30794 #Patch Set 5 : Use isolate data for UDP buffer #Patch Set 6 : Windows implementation #Patch Set 7 : Rebased to r31022 #Patch Set 8 : Android implementation #Patch Set 9 : Added Mac OS #Patch Set 10 : Add Mac OS implementation #Patch Set 11 : Update test #
Total comments: 24
Patch Set 12 : Addressed review commetns #Patch Set 13 : Fix Windows build #
Messages
Total messages: 8 (0 generated)
|