Skip to content

[Tracking Issue] Direct Sockets API #47511

@GrapeGreen

Description

@GrapeGreen

Dear NodeJS team,

A year and a half ago @jasnell kicked off a discussion for a new unified net/tls/udp API (#40067); one of the options for alignment mentioned there was the Direct Sockets API (ex Raw Sockets) which has significantly evolved since then.

I'd like to revive that thread and ask you to share your thoughts on the general matter and the potential for future alignment. The API is currently in a limited developer trial, so there's plenty of room for incorporating new feedback and altering the API shape.

Same as in the previous thread, I'm fully aware that NodeJS has its own networking stack and API, so I'd like to stress that there's no intent to introduce any breaking changes nor alter the existing APIs; I believe that the Direct Sockets API could serve as a nice addition to the current stack and bridge the gap between NodeJS and the Web Platform.

I would be happy to discuss further if you are interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions