Anonymous
Not applicable
Jun 19, 2015
04:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 19, 2015
04:58 AM
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 ?
2 Replies
Anonymous
Not applicable
Jun 20, 2015
12:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2015
12:20 AM
Which SDK version and network stack are you using?
Jun 20, 2015
07:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2015
07:19 AM
I'm using 3.1.0 SDK,
App uses FreeRTOS + LwIP