I'm not sure if RTCS alows to send dummy "unblock" messages...
Well, there's an option to pass RTCS_MSG_NONBLOCK flag to recvfrom() function and loop over it with some _time_delay(ms).
PetrM
This is a bad design, the server is not supposed to quit.
The right way is to add the functionality into the server task - as a reaction on some message or event, shutdown the socket, release resources and return.
PetrM
I am facing the same problem can u tell me how to release the resource .
In while (1) loop , I am shutting down the socket and trying to create the socket and it is throwing error in bind().
The error code is 0x1633.
Thanks in advance
Netra
I'm not sure if RTCS alows to send dummy "unblock" messages...
Well, there's an option to pass RTCS_MSG_NONBLOCK flag to recvfrom() function and loop over it with some _time_delay(ms).
PetrM