Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TM4C1294NCPDT: Socket does not receive any data after remaining idle for sometime

$
0
0

Part Number:TM4C1294NCPDT

I have created a TCP client 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. It works perfectly fine till the broker or server sends data at a frequency with time gap of 4 mins, ,but as the server send or publishes data after 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 bothering socket idleness?

Thanks


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>