LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2009, 06:47 PM   #1
xyz123
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
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?
 
Old 01-24-2009, 07:57 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
first fix your protocols and then the rest should be easy
 
Old 01-25-2009, 09:02 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try this: http://beej.us/guide/bgnet/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network adapter(Realtek RTL8111/8168B) not communicating with network Brett Delport Linux - Networking 1 11-19-2008 09:29 AM
Implementing Dansguardian into our network agentc0re Linux - Networking 7 09-19-2007 08:46 AM
Linux server not communicating on network... why? BadBoyMitch Linux - Networking 3 01-01-2007 07:13 PM
Linux server not communicating on network... why? BadBoyMitch Linux - Hardware 1 01-01-2007 07:11 PM
SuSe 7.0 not communicating with Network (internal or external) jmnovak Linux - Networking 1 02-27-2002 12:52 PM


All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration