vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

Why I do not see TCP traffic during the latency demo? #50

Closed VladislavNeufeld closed 5 months ago

VladislavNeufeld commented 5 months ago

Hello,

when I am running your latency demo and observing the TCP traffic with Wireshark I only see some increased traffic directly after starting of each .exe. But during the measurement (ping pong exchange of messages between sender and receiver) I don't see any TCP traffic. My expectation was that during that time there is the most traffic since messages are sent the whole time back and forth. Could you please tell me what is wrong with my expectation?

BR

Vladislav

VDanielEdwards commented 5 months ago

Hello Vladislav,

Thank you for your question!

SIL Kit generally tries to use local-domain sockets to communicate between participants.

However, it is possible to forbid participants from using local-domain sockets using the EnableDomainSockets key in the participant configuration. It is part of the Middleware block.

The configuration file DemoBenchmarkDomainSocketsOff.silkit.yaml uses the option to turn them off.

Kind regards Daniel

VladislavNeufeld commented 5 months ago

Thank You!