vsomeip
vsomeip copied to clipboard
Use the same port to subscribe to services of different devices.
Two different devices use different ip addresses to provide different services.I want to subscribe to both services using the same port number.I added the following configuration to the json file: "clients": [ { "service":"0xc111", "instance":"0x0001", "unreliable":[30403] }, { "service":"0xc112", "instance":"0x0001", "unreliable":[30403] } ] But it says there is no available port: 2022-08-20 13:38:34.859699 [error] Cannot find free client port for communication to service: 37904 instance: 1 remote_port: 30506 reliable: 0 How can I modify the code so that the same port number can subscribe to different services on different devices.