Question: 2 ) Simple synchronized message exchange protocol - Consider two network entities, A and B , which are connected by a bi - directional channel
Simple synchronized message exchange protocol Consider two network entities, A and B which are connected by a bidirectional channel that is perfect that is any message sent will be received correctly; the channel will not corrupt, lose, or reorder packets A and B are to deliver data messages to each other in the following manner: A is to send two messages to B then B is to send one message to A Then the cycle repeats.
Draw an FSM specification for this protocol one FSM for A and one FSM for B Don't worry about a reliability mechanism here; the main point is to create an FSM specification that reflects the synchronized behavior of the two entities. You should use the following events and actions, which have the sane meaning as in protocol rdt shown on page of the textbook:
rdtsenddata packet makepktdata udtsendpacket rdtrcvpacket extractpacket data deliverdatadata refusedatadata
Make sure your protocol reflects the strict alternation of sending between A and B Also, be sure to indicate the initial states for A and B in your FSM description. The key idea is to use states to track how many messages A has sent: one or two i need an proper fsm diagram for this question
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
