Question: 2 ) Simple synchronized message exchange protocol - Consider two network entities, A and B , which are connected by a bi - directional channel

2) Simple synchronized message exchange protocol - Consider two network entities, A and B , which are connected by a bi-directional 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 rdt1.0, shown on page 206 of the textbook:
rdt_send(data), packet = make_pkt(data), udt_send(packet), rdt_rcv(packet), extract(packet, data), deliver_data(data), refuse_data(data).
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
2 ) Simple synchronized message exchange protocol

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!