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

Shall the tcp_send function be used on the TCP server?

Now I'm using RL-TCPnet on an embedded controller which acts as the TCP server. The server returns back different messages according to different messages sent by different clients. To return back the messages to different clients, I guess that tcp_send function should be used. If my guess is right, I want to know if the server's tcp socket is defined as socket_tcp = tcp_get_socket(TCP_TYPE_SERVER,0,10,tcp_callback), shall the tcp_send function be called in the tcp_callback function on the TCP server?