This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-TcpNet - client application receiving same data bytes that was sent previously

Hi,

I am using my MCU as a client application (i.e. active open).
The problem is, each time I attempt to send data, the callback function always return TCP_EVT_DATA event and I received the same data that I sent previously (or you can say, loopback).
Keil defines TCP_EVT_DATA as an event that, TCP data packet has been received.
As a client application, I will expect the TCP_EVT_DATA event to be triggered only when a TCP data packet is received from a remote server, not when the client is sending the TCP data.

The fact is, with the same piece of code, it does not happen when I configure it as server application instead.

Will like to know if anybody has similar experience?