Skip to content

itsvyle/rust-unix-relay-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-unix-relay-server

A simple server to relay messages sent to a unix socket

All connected clients will receive all messages, and can send messages.

Note that the max message size is 1024 bytes

Test it by running:

socat -d -d - UNIX-CONNECT:/tmp/relay_socket

Docker image

After having cloned the container, run it by mounting a directory to the container at path /tmp/sockets/

This folder has to be specific to each instance of the container, as the socket file will be created in it with the same name.

docker run -v /tmp/relay_sockets/:/tmp/sockets/ -d ghcr.io/itsvyle/rust-unix-relay-server:latest

You can then connect to the socket at the path <your directory>/relay

About

A simple server to relay messages sent to a unix socket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages