LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 06: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, 08:02 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



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 08:29 AM
Implementing Dansguardian into our network agentc0re Linux - Networking 7 09-19-2007 07:46 AM
Linux server not communicating on network... why? BadBoyMitch Linux - Networking 3 01-01-2007 06:13 PM
Linux server not communicating on network... why? BadBoyMitch Linux - Hardware 1 01-01-2007 06:11 PM
SuSe 7.0 not communicating with Network (internal or external) jmnovak Linux - Networking 1 02-27-2002 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration