Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 34b0a36120a0
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 6bd922fce83d
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Jul 29, 2013

  1. 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.
    bnoordhuis committed Jul 29, 2013
    Copy the full SHA
    6bd922f View commit details
    Browse the repository at this point in the history