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

dgram: make .send cb act as an "error" event handler. #7738

Closed

Commits on Jun 24, 2014

  1. dgram: make send cb act as "error" event handler.

    This allows users to provide a callback that handles potential
    errors resulting from a `socket.send` call. The original behavior
    of emitting the error event on the socket is preserved.
    
    Fixes nodejs#4846.
    chrisdickinson committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    c2b540a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7794c13 View commit details
    Browse the repository at this point in the history