0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/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
disabled
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
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