Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement UNIXServer and UNIXSocket.for_fd #940

Closed
headius opened this issue Aug 2, 2013 · 1 comment
Closed

Implement UNIXServer and UNIXSocket.for_fd #940

headius opened this issue Aug 2, 2013 · 1 comment
Labels
Milestone

Comments

@headius
Copy link
Member

@headius headius commented Aug 2, 2013

Since UNIXServer and UNIXSocket use a real fd and jnr-enxio, they could both support for_fd without too much effort.

One minor issue that would need to be fixed is that there's no way to create a UNIXSocket from jnr/jnr-unixsocket with a given fd; it handles creating the fd in its factory methods and does not expose the fd-receiving constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.