Ideas for a Network Simulation toy..

This is a discussion on Ideas for a Network Simulation toy.. within the Tech Board forums, part of the Community Boards category; I've been learning the basics of networking for a few days and suddenly had this idea: to make the model ...

  1. #1
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498

    Ideas for a Network Simulation toy..

    I've been learning the basics of networking for a few days and suddenly had this idea: to make the model myself in C++.
    Though I've not written any code(for this) yet, I think the implementations of the following will be within my capacity(now)...[I'd expand it later along the road]..
    * Virtual Machines as a toned down version of the architecture of real comps(in a high level, not 0s and 1s !!)
    * Ability to create and destroy new virtual machines(each one being an object).
    * Sending and receiving meaningful messages.
    * Primitive lookalikes of some network information tools found in Linux and a sort of ssh.
    * Illustrating the different topologies and objects resembling the other devices to hold the vm `s together.

    Would anyone of you suggest some other ideas &| features, or something which would be a helpful read ?
    Last edited by manasij7479; 07-01-2011 at 06:33 AM.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,162
    I don't know how detailed you want your simulation to be, but I'd read OSI model - Wikipedia, the free encyclopedia. Are you going to implement tcp? ipv4/6?
    If you understand what you're doing, you're not learning anything.

  3. #3
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    how detailed you want your simulation to be
    I was thinking about fusing the lower three layers (upto network) into a single entity(for now)... and the others into another.
    are you going to implement tcp?
    I'm not sure. I would try to, but if it gets too complicated, I'd make a simple one myself...

    Another Question::
    Would it be a good idea to learn about threads before attempting to do this ?
    __ I mean .. Can I make it in a simple way now, and later break ..say..the different devices of the network, into different threads ...without breaking everything else ? __
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  4. #4
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,167
    Threads would certainly make it more logical. Afterall, in computer networks, computers don't generally run one at a time.

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,406
    >> Can I make it in a simple way now, and later break ..say..the different devices of the network, into different threads ...without breaking everything else ?

    You will always want to have two models; a synchronous and a asynchronous one, to cater for what would be your virtual machine real-life needs. So it's perfectly fine to develop the synchronous model now and later add the asynchronous one.

    >> Would anyone of you suggest some other ideas &| features, or something which would be a helpful read ?

    I think you covered it. The only other thing I can think off is emulating a minimum set of protocols that will add to your final protocol stack. Each protocol implemented through an object that can only reside on its respective layer. Layers which could exist in the form of a namespace. Dunno... just thinking aloud...
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Thank you all..
    I've started making the vm part first....
    Posting the early design in another thread in the Tech Board ...please do criticize
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Neural Network Ideas
    By User Name: in forum General AI Programming
    Replies: 2
    Last Post: 09-16-2010, 07:14 PM
  2. Sports simulation/game website ideas
    By ebemiss in forum Tech Board
    Replies: 3
    Last Post: 07-22-2009, 11:23 AM
  3. EDCF protocol in Network simulation program
    By linux_007 in forum C++ Programming
    Replies: 0
    Last Post: 04-12-2009, 03:04 PM
  4. Network simulation code
    By ferarris in forum C Programming
    Replies: 2
    Last Post: 03-31-2006, 11:09 AM
  5. review my telephone network simulation program
    By debuger2004 in forum C Programming
    Replies: 3
    Last Post: 06-20-2003, 01:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21