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 |