![]() ![]() Generate a random float point number p, between 0 and 1. **How to drop/ignore packet with probability P ?** Just before the receiver sends an ack (after updating variables): Don't send the ack with probability P = 0.2. As soon as the receives gets a packet (before any update to variables): Ignore the packet with probability P = 0.2. At the receiver, write additional code in two placesġ. We need to simulate losses since our network will almost never lose packet. ![]() Sender sends data every Pt = 500ms and always has data to send. You will need to modify the meaning of functions in Fig. ![]() We will simulate the physical layer by the transport layer using the programs described in the lectureįor the programs on the data link layer follow the Fig. The goal is to implement a data transmission programs that involve two layers: **General rules: source code must be commented and a description how to run the programs must be attached.** Implement the simplex protocol for a noisy channel (Fig. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |