Skip to content

UNIX domain socket support #1345

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

Closed
wants to merge 4 commits into from
Closed

Conversation

gh4ck3r
Copy link
Contributor

@gh4ck3r gh4ck3r commented Aug 1, 2022

Recently, I saw #721, and aware @yhirose doesn't have any plan about it. But, @AhnLab-OSSG uses cpp-httplib on UNIX domain socket so far. So, I'd like to share the functionality to support UNIX domain socket. Hope this useful for somebody like me.

* `set_address_family(AF_UNIX)` is required
Abstract address of AF_UNIX begins with null(0x00) which can't be
delivered via .c_str() method.
@gh4ck3r gh4ck3r closed this Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants