Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Oct 6, 2025

Motivation:

Some applications receive a file descriptor for an already accepted TCP connection. There's currently no API to create a server from an fd like this.

Modifications:

  • Add an API to the server builder allowing a server to be created from an accepted socket
  • Add tests

Result:

Can create a server from an accepted socket fd

@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Oct 6, 2025
Motivation:

Some applications receive a file descriptor for an already accepted
TCP connection. There's currently no API to create a server from an fd
like this.

Modifications:

- Add an API to the server builder allowing a server to be created from
  an accepted socket
- Add tests

Result:

Can create a server from an accepted socket fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant