one small step for a gram, none giant leap nor datakind… or… uh…
flesh out tests a bit (find first issue ;-)
basic shipshape to make tests ± work
(impotently) support optional address parameter to bind
make good on node docs threat to throw binding a closed socket
node docs imply this class is exposed
match AFAICT undocumented node behavior, see https://github.com/tessel/runtime/pull/595#discussion_r19185884 and https://github.com/joyent/node/blob/029cfc12a0736b0b03d0101d24b8a1a3023137a5/lib/dgram.js#L124
fixup some null/undefined handling for colony
fix tcp port copypasta
support returning of port from tm_udp_receive, and cleanup whole set while changing ABI anyway (TODO: firmware will need update too)
move colony_pushbuffer to colony.c per https://github.com/tessel/runtime/pull/595#discussion_r19431930
fix incorrect (+an inconsistent) cast(s), see https://github.com/tessel/runtime/pull/595#discussion_r19431948
match editors that trim "trailing" whitespace even from blank lines, https://github.com/tessel/runtime/pull/595/files#r19432016
make sure javascript knows we don't want *old* errors, https://github.com/tessel/runtime/pull/595/files#r19432218
use | operator per https://github.com/tessel/runtime/pull/595/files#r19432458
improve tcp/udp error handling a bit, see https://github.com/tessel/runtime/pull/595/files#r19432922 and https://github.com/tessel/runtime/pull/595/files#r19432502
have tcp/ssl reads deal in buffers instead of improper raw strings, also make ssl more consistent with tcp/udp error handling
add simple repro/test for TCP binary data handling
make UDP double-close a nop
\ Yes newline at end of file