mguentner / cannelloni

a SocketCAN over Ethernet tunnel
337 stars 84 forks source link

Multiple connections to a server #17

Open khasenklever opened 6 years ago

khasenklever commented 6 years ago

In addition to the daemon-mode feature request, wouldn't it be nice to let the server instance accept more than 1 connection, so every CAN-Bus node may just connect to it and participate on the server's virtual can-bus where every connected client is able to communicate?

mguentner commented 6 years ago

Good idea! This will however increase complexity. You should be able to achieve the same behaviour if you let the kernel handle it for you.

Simply start a cannelloni instance on the "server" for each client you want to attach, each with a different port.