Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow about reading the socket from a separate task that has a higher priority? The task should be suspended as long as no data is here, but when it comes it will suspend the send task, and you can use a share variable to control the other task.
IIRC the Nichestack is thread safe so this should work.