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

Allow both TCP/IP and Unix Domain socket connections #16

Open
dvader opened this issue Mar 6, 2017 · 1 comment
Open

Allow both TCP/IP and Unix Domain socket connections #16

dvader opened this issue Mar 6, 2017 · 1 comment

Comments

@dvader
Copy link

dvader commented Mar 6, 2017

I would like other programs on the same machine that runs mbusd to be able to access the Modbus backend. I could use the Ethernet loopback but it seems heavy. A better way would be to allow an inter process communication to happen. Unix Domain socket seem like the most logical IPC as it is very similar to the TCP sockets without the networking overhead. It also uses a lot of the same functions so the unique code between the two socket type could be minimal.

@dgoo2308
Copy link
Contributor

@dvader @3cky out of curiosity I looked into it and I have an implementation ready that should work, but .....
do you have any modbus-clients that can connect to a domain socket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants