This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCP client socket does not receive anything after remaining idle for sometime

Other Parts Discussed in Thread: TM4C1294NCPDT

I have created a TCP client on TM4C1294NCPDT which connects to MQTT broker and receives data through socket. I have used sample tcp echo example and TI-RTOS NDK stack for creating socket and connecting to broker. The socket works perfectly fine till the broker or server sends data at a frequency with in or with time gap of 4 mins, ,but as the server send or publishes data with a time interval of more than 4 mins, the socket remains idle and does not receive anything from server/broker .which parameter set all these thing...I have found some similar parameters in tcpecho.cfg file...I tried to increase them but it didn't work.How should I keep the socket receiving all the time without botheration of socket idleness?

Thanks