LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Implementing a Network of Communicating Computers in C (https://www.linuxquestions.org/questions/linux-newbie-8/implementing-a-network-of-communicating-computers-in-c-699481/)

xyz123 01-23-2009 05:47 PM

Implementing a Network of Communicating Computers in C
 
My project is as follows:

There is a source and there is a sink. In between the source and sink there may be n no. of computers connected in a network. Let these intermediate computers be called nodes. The source sends out some information. This information reaches to all the intermediate nodes. Each of the node reads that information, if necessary modifies/adds to the information and then forwards it to all the nodes it is connected to. This way finally the information reaches the sink.

The sink then gives a reply and this reply traverses the same path of intermediate nodes and reaches the source.

Is there any sample project in C which will help me to implement the above
situation?

amani 01-24-2009 06:57 PM

first fix your protocols and then the rest should be easy

chrism01 01-25-2009 08:02 AM

Try this: http://beej.us/guide/bgnet/


All times are GMT -5. The time now is 12:48 AM.