Hello,
to monitor a socket in case of error or disconnection is this the right way:
le_fdMonitor_Create(“SockMon”, // Name for diagnostics
sockFD, // fd to monitor
SocketStateHandler, // Handler function
POLLIN |POLLOUT | POLLRDHUP );
I’m not sure on bitwise (last parameter) to set…
regards,
Gianmaria