I’m using a a file monitor (portMonitor = le_fdMonitor_Create(“xxx”, sockfd, MyReadHandler, POLLIN | POLLPRI); ) after opening a port and I’m noticing the following behaviour:
- as long as I keep sending every 10 seconds the callback is called immediately
- if i wait longer than 10 seconds before sending data from the server to the device the data is not received until data is send from the device to the server
As there is a keep alive message send to the server every 60 seconds i’m not sure if the data would eventually be handled, but it’s still a bit weird.
Does anyone have any idea to get it to respond immediately?