Ethernet frame length issue
Hi, I got a problem when I use the Ethernet TCP stack and hope someone can help me figure it out.
I am using tcpecho protocol to communicate between PC and the board. PC send the command and board response with the data. If I just send 64 bytes, as:
netconn_write(newconn, TCPResponse, 64, NETCONN_COPY);
Everything looks good, I can see the PC receives the response as :
but since my message is over the 64 bytes, I change it to 128 in the function as
netconn_write(newconn, TCPResponse, 128, NETCONN_COPY);
Then the response become much slower. It takes more than half second to received the response.
Looks like I got the "TCP out of order", Is there any way can allow 128 bytes message in the TCP stack?
Please help me out of it. Thanks for that
