Tool/software: TI-RTOS
Hello,
I have set up a TCP server and enabled the socket’s options: SO_RCVTIMEO , SO_SNDTIMEO.
I called recv() with the flag MSG_WAITALL and I noticed that there is no timeout on recv() (i.e. after the time defined with SO_RCVTIMEO recv() still blocks())
From what I read I could not find an explicit answer but it sounded like that the timeout option should be in effect, if set ,even with MSG_WAITALL in recv().
I also tried removing the MSG_WAITALL from recv() (setting flags parameter to 0) and still recv() blocks forever without any timeout.
Can you please explain (or help fix) why the timeout does not hold ?
Thanks
Guy