Skip to content

Allow file descriptor to be passed to UDP socket - just as one can for TCP/Unix sockets #14961

@bangert

Description

@bangert

In the net API (https://nodejs.org/api/net.html) Node allows the reception of an existing socket via its file descriptor - in the server.listen(handle[, backlog][, callback]) API. This is, among other things, useful when receiving the listening socket from a supervising daemon.

Unfortunately no such possibility appears to exist for the dgram API (https://nodejs.org/api/dgram.html).

This is a request to add such a feature in the future.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dgramIssues and PRs related to the dgram subsystem / UDP.feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions