Click here to Skip to main content
15,918,889 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am doing a project on networks where I have to send data from source to destination with many other nodes in between.

So far I can do data transfer between client and server.
How can I introduce intermediate nodes?

Also, help me in identifying IP address of neighbouring nodes to check whether it is working in network or not.

Please help me in this. I will be grateful.

Thanks & Regards
Posted
Updated 26-Mar-11 2:27am
v3
Comments
Sergey Alexandrovich Kryukov 26-Mar-11 1:12am    
Do you develop your code for all the nodes including intermediate ones? What is their role? Do you need UDP or TCP. Which nodes are listeners and which just connects to other? What is... well do you see? A lot more information on your work is needed to say something certain...
--SA
Dalek Dave 26-Mar-11 8:27am    
Edited for Grammar, Syntax and Readability.
SharmaShruthi 26-Mar-11 14:19pm    
yeah code is developed for intermediate nodes[or can be said as routers] too...and their role is to just forward packets[connects to others] to intended recipient[destination node i.e listener] through shortest path and in case of failure they have to chose mean shortest path.

1 solution

If you want to broadcast the data then use UDP port for data transfer..
 
Share this answer
 
Comments
Dalek Dave 26-Mar-11 8:27am    
Sage Advice

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900