Skip to content

doc: clarify when `'listening'` event is emitted

Clarify that the 'listening' event for a UDP socket in NodeJS is emitted when the underlying OS socket is created.

This occurs when either socket.send() or socket.bind() are first invoked for the respective socket.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading