vsomeip icon indicating copy to clipboard operation
vsomeip copied to clipboard

Help needed in clarification of port type in .json file

Open Ravi-Teja-konda opened this issue 3 years ago • 2 comments
trafficstars

Hello All,

Can we have a both reliable and unreliable for a service which implements both methods and events

For example :

{ "service" : "1234", "instance" : "0x12130", "unreliable" : "31337", "reliable" : { "port" : "4590", "enable-magic-cookies" : "false" } }, { "service" : "5678", "instance" : "0x9876", "unreliable" : "31337", "reliable" : { "port" : "4590", "enable-magic-cookies" : "false" } } }

In the above services it uses communication as both reliable and unreliable Is the service is open for both TCP and UDP for methods and events ?

Can client the connect to any port like TCP- 31337 and UDP-4590 for one service ?

Ravi-Teja-konda avatar Jun 30 '22 11:06 Ravi-Teja-konda

when you sub. you can set sub type

ByteXiaoTang avatar Jul 18 '22 07:07 ByteXiaoTang

Of course you can have two ports (TCP and UDP) listening on one service. And both ports are available to connect. Also you can set the reliability type (TCP or UDP) when calling app->send() to specify it.

zhaoxin39913 avatar Jul 20 '22 08:07 zhaoxin39913

Closing ticket: Ticket already answered.

Of course you can have two ports (TCP and UDP) listening on one service. And both ports are available to connect. Also you can set the reliability type (TCP or UDP) when calling app->send() to specify it.

goncaloalmeida avatar Feb 17 '23 16:02 goncaloalmeida