2018-04-12 06:49 AM
I have used the STM32Cube software and the tcp_echoserver to create a working echo server with no issues. Now I am trying to expand on the echo server. I want to be able to send data without the requirement of data having been already sent (however a connection has been established).
Normally with LwiP this is very easy to do because most of the work is done by tcp_write & output. Now using free RTOS there are callbacks that handle all of the receiving and other tcp connection stuff. However this seems to constrain the tcp_echo_server struct.
My question is how to send tcp data using the existing callback system in freeRTOS, after getting a connection and without receiving data every time we send.
#lwip #freertos+tcp #freertos