In trdp_pdcom.c https://sourceforge.net/p/tcnopen/trdp/HEAD/tree/trunk/trdp/src/common/trdp_pdcom.c#l259
trdp_pdSendQueued() always sends process data marked with TRDP_REDUNDANT. Complex logical expression used to determine redundant uses uninitialized value appHandle->beQuiet, which will always evaluate to true, so the flag is never used.
Is beQuiet going to be useful at all or should it be removed completely? Currently it is just never used.
Should we return an error if socketIdx == -1 ?
Also same issue is found in trdp_mdcom.c
My patch is incomplete, so the error handling and logging should be added still.
Artifact beQuiet removed, invalid socketIdx handled