Google Answers Logo
View Question
 
Q: "Multi thread Progam -Ethernet card and switch" in java or c# language ( No Answer,   1 Comment )
Question  
Subject: "Multi thread Progam -Ethernet card and switch" in java or c# language
Category: Computers > Programming
Asked by: india_123456789-ga
List Price: $5.00
Posted: 03 Apr 2005 15:31 PDT
Expires: 03 May 2005 15:31 PDT
Question ID: 504472
Please , answer me after 2-3 days..
Program Defination is as follows...
	


hi, i want this program in Java Language.This program is of Network
Programming(Multithred Programming).

Program Def.:-
An Ethernet Switch simulation package that will allow the transfer of
basic packets(array of bytes)between simulated ethernet cards.
Process:
Ethernet Card 1
Process:
Ethernet Card 2
Process:
Ethernet Card N

               Process:Ethernet Switch

Each Ehernet Card1,2...N are bidirectionaly connected with Process:Ethernet Switch.

The packet should be able to be "connected" to the switch at run time
and be able to start receiving and transmiting packets as soon as they
are "connected."

At this point the basic goal is to congigure the network and be able
to transfer basic Ethernet frames.keep in mind that later on you will
be adding more layers to your simulator. Note that



U ?ll need to protect the outgoing buffer so that multiple frames
being sent to the same port do not overwrite each othe(collision).

Your simulator should include ability for multiple processes (running
in the same  machine or running on different machines, your choice)to
communicate via an IPC mechanism (PIPES/SOCKETS/MESSAGE queses. Etc.)
as well as a display showing all the traffic flowing  through the
switch.



 Writing the code that construct a frame or a packet and sends it to
another machine should not be too complicated; the difficult part will
be to write the initialization code that gets all your processes
talking to each other and the handling of the requirement to add
another machine in the middle of the simulation. You also need an
elegant way of terminating your program.(i.e. simulating a power
on/off button).













	Process:
Ethernet Card 1
Process:
Ethernet Card 2
Process:
Ethernet Card N
	

	


               Process:
Ethernet Switch



hi, i want this program in Java/C# Language.This program is of Network
Programming(Multithred Programming).

Program Def.:-
An Ethernet Switch simulation package that will allow the transfer of
basic packets(array of bytes)between simulated ethernet cards.
Process:
Ethernet Card 1
Process:
Ethernet Card 2
Process:
Ethernet Card N

               Process:Ethernet Switch

Each Ehernet Card1,2...N are bidirectionaly connected with Process:Ethernet Switch.

The packet should be able to be "connected" to the switch at run time
and be able to start receiving and transmiting packets as soon as they
are "connected."

At this point the basic goal is to congigure the network and be able
to transfer basic Ethernet frames.keep in mind that later on you will
be adding more layers to your simulator. Note that U ?ll need to
protect the outgoing buffer so that multiple frames being sent to the
same port do not overwrite each othe(collision).

Your simulator should include ability for multiple processes (running
in the same  machine or running on different machines, your choice)to
communicate via an IPC mechanism (PIPES/SOCKETS/MESSAGE queses. Etc.)
as well as a display showing all the traffic flowing  through the
switch.

Writing the code that construct a frame or a packet and sends it to
another machine should not be too complicated; the difficult part will
be to write the initialization code that gets all your processes
talking to each other and the handling of the requirement to add
another machine in the middle of the simulation. You also need an
elegant way of terminating your program.(i.e. simulating a power
on/off button).

(Represents some kind of IP mCommunication Mechanism Pipes,Sockets,Etc....
)

This program  (ehternet card simulator) which shold be able to receive
and send Ehernet packets. It shold have an assigned "hardware address"
which can be obtained either from the command line, from a
configuration file or from the user upon start up.u 'll need to
provide a user level interface that will allow the user to:

(a) Display in the screen when a packet/frame is received by the card
and its contents in a readable format.

(b) rUN A command to indicate that a frame  needs to be sent and allow
the user to enter the data contents from the keyboard and indicate to
which other card the packet needs to be sent by indicating a hardware
address(which could be the ethernet broadcast address or a specific
address). u can pre-configure dynamically from something like the time
of day or data from the command line. The card shold calculate the CRC
before the packet is transmitted.

(c)   Run a command that indicates that a series of packets and
associated hardware destination address shold be read from a file and
transmitted, return to user interaction addresses after the contents
of the file are executed.

(d)
U alos need to have a way for the user to indicate that the card shold
be disconnected from the switch for a graceful termination of your
simulation.

Include a separate connection in the switch (or special packets from
one or any of the cards) including some form of authentication (i.e.
password) that will allow for user to configure the switch. The
configureation commands shold include:
    1.   Turn on or off any of the ports.
    2.   Enable/disable broadcasting.
    3.   Introduce an error in apacket with probability "p".
4. Start/stop a logging mechanism  that will save to a file all the
packets transmitted through the swich.

i want this networknig multithreded proggram in INTERNET PROTOCOL subject.

Can u pleasae do it very fast????Reply me fast....

if possible can u  preapre class- diagram/Flow chart for this program...

Thank You....Hope, u 'll help me...

Shital Parikh
Answer  
There is no answer at this time.

Comments  
Subject: Re: "Multi thread Progam -Ethernet card and switch" in java or c# language
From: politicalguru-ga on 03 May 2005 01:52 PDT
 
Thank you for your question.
 
I believe that to answer it well, your question will require more time
and effort than the average amount of time and effort associated with
this price. Here is a link to guidelines about pricing your question,
in the pricing guide: https://answers.google.com/answers/pricing.html

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy