Hi,
Thanks for the response, unfortunately I already tried to implement it via a fdMonitor but it give me the same error(s) when calling the recv functionallity:
either:
- Errno -1: Operation not permitted
- Errno -11: Unknown error
I discovered that when I use the flag MSG_DONTWAIT in the recv function that I get the errors as described above. But when I just set the flag to 0 than I can receive data without a problem. However I want a non-blocking socket, so I want to use the flag MSG_DONTWAIT.
Anyone encountered this problem before?