Tool/software: TI C/C++ Compiler
- Controller : TM4C1294NCNPDT
- Make : Texas Instruments
- Ethernet communication : TCP protocol
- issue facing :
Our controller is configured as server and we need to communicate with two clients parallel through TCP protocol.
At present we are not facing issue by sending one by one request to controller (server) from two client.
But if we send data request from server to client1 and client 2 in same time controller is responding for any one request (second request) and it is not sending for response for first request.
Also, if controller receives another request from client 2 while sending of data to client 1, controller stops sending data to client 1 and sends data to client 2 for the request. Due to this we are facing data loss issue in client side
We need to communicate with two clients simultaneously from controller (server) as like multithreading
Looking forward for your favourable reply