Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFull duplex communication on a TCP socket
Hi, Is it possible send a character command from a client to a server if server is still sending data continuously to client?....so...I mean....during server->client data sending...? Regards
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.