NETWORKS. ASSIGNMENT. In this assignment, you will writ

Added on - 18 Sep 2019

  • 3

    Pages

  • 584

    Words

  • 82

    Views

  • 0

    Downloads

Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 1 of 3 pages
NETWORKSASSIGNMENTInthisassignment,youwillwritetwoprogramsforsimulation-oneforbridgeprocessingandoneforrouting.YoumayuseJava,C,C++orPythonasthelanguageforbuildingyourprograms.1.Writeasimpleprogramtosimulatethebridgeprocessingflowchartdiscussedinthelectures.Theprogramshouldreadatextfilethatcontainstheforwardingdatabase(FDB).Thefirstlineinthetextfilecontainsthenumberofportsonthebridge.Theprogramshouldthenreadanothertextfilecontainingrandomlygenerateframesjustthesourceanddestinationnumbersandportnumbersofarrival.Foreachframe,theprogramshouldusetheflowcharttomakeanupdateoftheforwardingdatabaseand/ortoforward/discardtheframe.IgnoretheCRCerrordetectionpart(thatis,assumethattheframesareerrorfree).Includethesourcecodeandsamplerunsoftheprogram.
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document