NETWORKS. ASSIGNMENT. In this assignment, you will writ

Added on - 18 Sep 2019

  • 3

    Pages

  • 584

    Words

  • 70

    Views

  • 0

    Downloads

Trusted by +2 million users,
assist thousands of 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

Become a Desklib Library Member.
Subscribe to our plans

Download This Document