node/lib
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
..
_debugger.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_http_agent.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_http_client.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_http_common.js util: Add debuglog, deprecate console lookalikes 2013-05-21 16:39:50 -07:00
_http_incoming.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_http_outgoing.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_http_server.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_linklist.js Update copyright headers 2011-03-14 17:37:05 -07:00
_stream_duplex.js stdio: Set readable/writable flags properly 2013-01-17 10:42:44 -08:00
_stream_passthrough.js stream: _write takes an encoding argument 2013-03-05 14:27:15 -08:00
_stream_readable.js streams: Don't emit 'end' until read() past EOF 2013-07-25 13:14:49 -07:00
_stream_transform.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_stream_writable.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_tls_legacy.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
_tls_wrap.js tls: share tls tickets key between cluster workers 2013-07-25 01:16:00 +04:00
assert.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
buffer.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
child_process.js child_process: add 'shell' option to .exec() 2013-07-29 16:41:56 +02:00
cluster.js cluster: fix shared handle bind error propagation 2013-07-28 14:50:17 +02:00
console.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
constants.js Update copyright headers 2011-03-14 17:37:05 -07:00
crypto.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
dgram.js dgram: report send errors to cb, don't pass bytes 2013-07-29 06:48:46 +02:00
dns.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
domain.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
events.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
freelist.js Update copyright headers 2011-03-14 17:37:05 -07:00
fs.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
http.js http: Add agent.get/request methods 2013-07-09 22:31:11 -07:00
https.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
module.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
net.js cluster: fix shared handle bind error propagation 2013-07-28 14:50:17 +02:00
os.js lint 2013-03-28 13:19:08 -07:00
path.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
punycode.js punycode: update to v1.2.3 2013-06-20 13:02:53 +02:00
querystring.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
readline.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
repl.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
smalloc.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
stream.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
string_decoder.js Don't allow invalid encodings in StringDecoder class 2012-12-13 17:00:22 -08:00
sys.js Fix #3577 Un-break require('sys') 2012-06-28 10:14:03 -07:00
timers.js timers: setImmediate process full queue each turn 2013-07-11 22:22:56 -07:00
tls.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
tty.js src, lib: update after internal api change 2013-07-20 12:09:29 +02:00
url.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
util.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
vm.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00
zlib.js lib: macro-ify type checks 2013-07-24 21:49:35 +02:00