A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

December 22, 2015

How can i create thread and communicate thread with agent(daemon process) with TCP/IP?

My professor assign me a task,please help me how can i do it in c programming?I m studying a subject "system programming". I am using Ubuntu/Linux.
Assign a big task to the controller and controller give task to the different threads or processes and every process connect with agent through TCP/IP. Agents are daemon processes and agents on the other machine,suppose 3 process and 3 agents connect with 3 process and every agent calculate the result and give it back to the every process and result store to the controller.Following diagram is: my professor draw this diagram on board.please help me how can i do it:
I have one laptop,please provide me a link which may help out.It's my first post here.Thanks in advance

Click Here!