Keil™, An ARM® Company

Discussion Forum

RL-TCP UDP sockets with RTX kernel

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Author
Darren Simons
Posted
3-Jul-2008 02:00
Toolset
ARM
New! RL-TCP UDP sockets with RTX kernel

I have application using RTX/RL-TCP i have a timer task and a tcp task following the guide lines, I have data coming in via a UDP socket and the call_back functions this all works fine. The issue is i want to respond back to the client over UDP, calling udp_send from within the call_back function seems to be an issue the application sends the data once and then stops "i guess some memory corruption" i am not going out side the allocated buffers.

The use of tcp and the RTX is a little confusing as it says all call_back functions are executed from the networking task, i assume this is my tcp_task as it contains the call to main_TcpNet.

So the question how are you meant to handle the udp_send ca it be placed in the call_back function.

Anybody have experience of using RL-TCP and RTX like this the manual is a bit light on detail.

Thanks
Darren

Author
Darren Simons
Posted
9-Jul-2008 01:30
Toolset
ARM
New! RE: RL-TCP UDP sockets with RTX kernel

Follow up.

Have this functioning allow the call_back to complete and return, but trigger reply from main_tcp loop. Not quite an ideal solution as have to persist some socket data but its working for now...

Next Thread | Thread List | Previous Thread Start a Thread | Settings