dgram: send() can accept strings
authorTrevor Norris <trev.norris@gmail.com>
Mon, 28 Oct 2013 21:58:37 +0000 (14:58 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Mon, 28 Oct 2013 23:18:18 +0000 (16:18 -0700)
commit81307440440127c7c99183734098f97fac5e214d
treeb56d3a9301d15655b3f8a2249f32d31c162be40f
parent0396b20ff48a7adc6e6a59e0465f72fa21bc840f
dgram: send() can accept strings

Strings passed to Socket#send() will be passed to Buffer and parsed as
UTF8.
doc/api/dgram.markdown
lib/dgram.js
test/simple/test-dgram-oob-buffer.js
test/simple/test-dgram-regress-4496.js
test/simple/test-dgram-udp4.js