TCP sever - hangs at some point

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have a TCP serve app in which two sockets are opened in two threads/tasks, and they are in blocking state which waits for some data.

Socket 1 expects/receives small amount of data (High priority thead) ,10-30bytes long, where as Socket 2 receives data as large chunks ie; several number of 1024byte TCP packets,(Low priority thead),

So the problem is after some time my whole program hangs,, Doesn't seem to receive any data,

When I tried debugging and do pause the app , all I could see was all the tasks were port-yielded,

So how can I debug this issue ...?

Any thoughts ?

0 Likes
2 Replies
Anonymous
Not applicable

Which SDK version and network stack are you using?

0 Likes
Anonymous
Not applicable

I'm using 3.1.0 SDK,

App uses FreeRTOS + LwIP

0 Likes