Implement a simple inter-process communication protocol

Assignment Help Programming Languages
Reference no: EM133381196

Question 1. Implement a simple inter-process 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 periodically by following inter-arrival time, i.e., exponential
  • 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. If the sender receives the Hello_Ack packet, then the transmission is successful. Suppose it takes 0.2 seconds to transmit a packet over the network. A local processing delay before replying Hello_Ack is 0.1 second
  • A packet can be lost during the transmission because of an 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 is failed.
  • Dump a snapshot of events (i.e., a packet loss probability is 0.3). Only one-page would be enough. For example,...
    node.0 sends a Hello to node.3 at 100.2 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

Reference no: EM133381196

Questions Cloud

Demonstrate your ability to synthesize tesla : Demonstrate your ability to synthesize Tesla in four pages max. applying the Strategic Audit model.
Determine what will be the new performance : Determine what will be the new performance (in terms of average web page accesses per second) with each of the enhancement options (2) By doing
What are major problems facing social security : What are the major problems facing Social Security in the United States? What are the major problems facing the American welfare state?
Individual liberty of conscience or spiritual liberty : In Martha Nussbaum's account of individual liberty of conscience or spiritual liberty in 17th and 18th century colonial and revolutionary era America
Implement a simple inter-process communication protocol : Implement a simple inter-process communication protocol that exchanges two control packets, Hello and Hello_Ack. Refer to the example code shown in lecture note
Find an article or two on neuroscience or more specifically : Find an article or two on neuroscience or more specifically neuroleadership. How can mindfulness, along with neuroscience/neuroleadership help a leader focus
Counter insurgency and unconventional warfare : Explain the differences between Counter Insurgency (COIN) and Unconventional Warfare (UW).
Analyze relationships between conflict and power : Analyze relationships between conflict and power. How does conflict and power challenge nurses in their roles as patient advocates?
What did you learn about patient safety : What did you learn about patient safety and professional nursing practice from watching the Lewis Blackman Story?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd