qmp-shell icon indicating copy to clipboard operation
qmp-shell copied to clipboard

Add support for connecting to TCP sockets

Open rgl opened this issue 4 years ago • 0 comments

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?

rgl avatar Jul 04 '21 21:07 rgl