node/test
Ben Noordhuis 6bd922fce8 dgram: report send errors to cb, don't pass bytes
Passing the number of sent bytes to the callback is superfluous;
datagram sockets operate in atomic mode: either the sendmsg() system
call succeeds or it fails but it never does partial writes.

Instead, report send errors to the callback. UDP error reporting is
fairly haphazard on most platforms. You should not expect reliable
delivery of anything besides EMSGSIZE and (possibly) ENETDOWN and
ENETUNREACH.

Fixes #2608.
2013-07-29 06:48:46 +02:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled Merge remote-tracking branch 'ry/v0.8' into master 2013-02-18 10:21:08 -08:00
fixtures src: break on uncaught exception 2013-06-26 19:54:31 +02:00
gc test: fix up weakref.cc after v8 api change 2013-07-06 17:44:45 +02:00
internet DNS: Support NAPTR queries 2013-03-06 14:31:22 +04:00
message process: remove maxTickDepth from _tickCallback 2013-05-30 09:30:19 -07:00
pummel Merge branch 'v0.10' 2013-05-13 11:13:39 -07:00
simple dgram: report send errors to cb, don't pass bytes 2013-07-29 06:48:46 +02:00
common.js test: optionally set common.PORT via env variable 2013-03-02 19:09:39 +01:00