Sockets : errno global var is not thread safe
SOPC_Socket_Read and SOPC_Socket_Write function (platform dep) check errno var if recv or send return -1. It is recommended to use getsockopt API (thread safe).
This is an issue for FreeRTOS, not for Linux. But this fix can be used for Linux without side effect.
It seems that FreeRTOS and Linux use POSIX API, so this code could be refactored and moved into common platform source code.
Edited by ano