On Thu, May 21, 2020 at 7:09 AM Andrew Cooper wrote:
>
> On 19/05/2020 02:54, Jason Andryuk wrote:
> > +static int connect_socket(const char *path_or_fd) {
> > +int fd;
> > +char *endptr;
> > +struct sockaddr_un addr;
> > +
> > +fd = strtoll(path_or_fd, &endptr, 0);
> > +if (*e
On 19/05/2020 02:54, Jason Andryuk wrote:
> +static int connect_socket(const char *path_or_fd) {
> +int fd;
> +char *endptr;
> +struct sockaddr_un addr;
> +
> +fd = strtoll(path_or_fd, &endptr, 0);
> +if (*endptr == '\0') {
> +set_nonblocking(fd, 1);
> +return fd
From: Marek Marczykowski-Górecki
Add a simple proxy for tunneling socket connection over vchan. This is
based on existing vchan-node* applications, but extended with socket
support. vchan-socket-proxy serves both as a client and as a server,
depending on parameters. It can be used to transparentl