Hi Daniel,
My project creates a task to service reception of data on each socket connection. This task calls recv() in blocking mode and places any received data in a buffer for another task to make use of. This receive task is running as long as the socket exists.
When I need to transmit using a socket, I place the data to be sent in a buffer and I create a transmit task, which calls send(), that terminates as soon as it is finished. I currently keep a record of whether a particular socket is busy transmitting or not and take care not to start a second transmission task if one is already running. My question concerned what would happen if I incorrectly started a second transmit task (with a second send() call) while a previous transmit task was still running?
Thanks for your reply.
Best,
Tim