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

Add support for connecting to TCP sockets #3

Open
rgl opened this issue Jul 4, 2021 · 0 comments
Open

Add support for connecting to TCP sockets #3

rgl opened this issue Jul 4, 2021 · 0 comments

Comments

@rgl
Copy link
Contributor

rgl commented Jul 4, 2021

Currently we can only connect to unix domain sockets, but its also useful to connect to TCP sockets.

To distinguish between the two, we should support something URLs, something like tcp://{ip}:{port} and unix://{path}.

To maintain backwards compatibility, it should be enough to assume its a unix domain socket when the user did no supply an URL (e.g. {scheme}:{rest}).

What do you think?

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

No branches or pull requests

1 participant