1 Reply Latest reply on Sep 8, 2017 4:05 AM by GauravS_31

    TCP Single client and Multiple servers


      I am using wiced 4.1.0 version and RTOS is Threadx.Network is NetX_Duo.

      I took tcp_client application which is present in snip as a reference.In that application 1 client can communicate with the one server.

      I want to develop the existing application in which one client can communicate to multiple servers.

      can anyone provide me some sample applications or else suggestions to proceed further.

      One approach I am thinking is to create threads for each server.If that is the case then if suddenly one server no longer exists and memory will be wasted for that.How do client comes to know that the server is no longer present?