Design and develop a simple handshaking protocol using C with CSIM -- 3
$30-250 USD
Pagado a la entrega
Implement a simple single-hop communication protocol that exchanges two control packets, Hello and
Hello_Ack. Refer to the example code shown in lecture note #5.
• Suppose there are five nodes in a network, where each node is fully connected with others. Each
node generates a Hello packet by following an inter-arrival time, exponential (5.0).
• A sender node (in short, sender) transmits a Hello packet to a randomly chosen receiver node (in
short, receiver). Upon receiving, the receiver replies to a Hello_Ack packet to the sender. If the
sender receives the Hello_Ack packet, then the transmission is successful. Suppose it takes 200
milliseconds (0.2 seconds) to transmit a packet over the link. A local processing delay before
replying to Hello_Ack is 100 milliseconds (0.1 seconds).
• A packet can be lost during the transmission because of unreliable link quality. Suppose a set of
packet loss probabilities is 0.1, 0.2, 0.3, 0.4, and 0.5. If the sender does not receive the Hello_Ack
packet within a timeout period (2 seconds), it retransmits a Hello packet. If the sender still does
not receive the Hello_Ack packet, then the transmission fails.
• Dump a series of events and two pages would be enough. Suppose a packet loss probability is
0.3:
node.0 sends a Hello to node.3 at 100.2 seconds.
node.3 receives a Hello from node.0 at 100.4 seconds.
node.2 replies a Hello_Ack to node.1 at 100.5 seconds
node.4 sends a Hello to node.3 at 110.5 seconds
node.1 receives a Hello_Ack from node.2 at 110.6 seconds
node.4 re-sends a Hello to node.3 at 112.5 seconds
.
• The simulation ends when the simulation time reaches at least 2,000 seconds.
• Draw two result graphs in terms of the following performance metrics against the packet loss
probabilities (0.1, 0.2, 0.3, 0.4, or 0.5).
Average number of successful transmissions
Average number of failed transmissions
Nº del proyecto: #37733924
Sobre el proyecto
Adjudicado a:
Hi There, I am a senior Expert and Have more than 5 years of experience in C language and can develop hand-shaking protocol. Just check my profile and share your details. Time and Budget will be discussed. Thanks
14 freelancers están ofertando un promedio de $144 por este trabajo
Hi, I'm a proficient C developer, I have a good grasp of socket programming and I think I can accomplish your project. Please send me a message so we can discuss more details. Bests
Hi there, I'm thrilled to apply for your Design and develop a simple handshaking protocol using C with CSIM -- 3 project. With 4-5 years of experience in Simulation and C Programming, I'm confident in my ability to br Más
Hi, I can implement the single-hop communication protocol as per the specified instructions in C programming language. I have firsthand experience, implementing networking protocols and have years of experience worki Más
Hi Bandar A. My name is Aleksa and I've read your job description. I'm cofident about your project because I am a professional mobile app developer with skills including C Programming and Simulation. I'll finish your p Más