Tool/software: TI-RTOS
I have the NDK calls recvnc on a socket (a TCP socket opened using the DaemonNew as SOCK_STREAMNC) expecting to receive data from the PC.
Even though the PC program has already terminated, the was an iteration were recvnv returned with some more data (which I assume is a left over data in the buffers that was not yet read) and then another call to recvnv never returns .. – why is that? If the PC program was terminated than the socket should have been closed (on the PC side - is there a way to verify it? ) why isn’t that detected by NDK?
Thanks
Guy