Questions tagged [flow-control]

Flow control is the process of managing the rate of data transmission between two nodes to prevent a fast sender from outrunning a slow receiver.

Flow control is the process of managing the rate of data transmission between two nodes to prevent a fast sender from outrunning a slow receiver. It provides a mechanism for the receiver to control the transmission speed, so that the receiving node is not overwhelmed with data from transmitting node.

166 questions
0
votes
1 answer

Selenium IDE/Flow Control - gotoif condition

I'm new to gotoif condition in SeleniumIDE. Trying to use it to test this scenario in the same test: If page displays "test" icon, then click Launch and skip next step. If page doesn't display "test" icon, then proceed to next step.
user3220099
  • 1
  • 1
  • 2
0
votes
0 answers

flow control during serial communications

I have designed an application that communicates with an external device on my development box through a USB->serial adapter (Windows 7 64bit, VS2013, targeting .Net Framework 3.5 SP1). I also have a test box setup with a native serial port with…
0
votes
1 answer

Running two threads at once, and subsequently communicating between them

I am trying to implement a stop and wait ARQ using a sender and receiver communicating on the same machine. My problem is making the two threads run simultaneously and, after that, communicating between the two threads (maybe using Thread.notify()).…
Simon Hillary
  • 213
  • 1
  • 4
  • 12
0
votes
1 answer

How is one to do this in node?

I have a task, and if it's been done, already, I need to skip it, and if it hasn't, I need to perform it. The task is asynchonous. After this, I need to do the same check for another task, and possibly perform it... if(!taskStatus.complete[x]) …
user2958725
  • 1,355
  • 3
  • 12
  • 16
0
votes
2 answers

rock paper scissors flow control

In the following program for rock paper scissors something is wrong with my loop. Using the input for set length, the game is played N times for each set. For cases in which results are player 2, computer 0; player 0, computer 2; player 2, computer…
user2906979
  • 307
  • 2
  • 3
  • 11
0
votes
2 answers

Windows (C# preferably) - How to find out that we are not reading data from socket fast enaugh

If I am not reading data from socket fast enough, the TCP protocol will decrease sliding windows size and sender might get blocked during sending (as discussed here what happens when I don't manage to call `recv` fast enough?). How do I detect this…
Jan
  • 1,905
  • 17
  • 41
0
votes
1 answer

Using xonxoff-flow control with pyserial

I am currently trying to interface with a somewhat old old model of a HP-printer which gives me two possible methods of flow-control: No flow control at all or software-based flow control (XON/XOFF). I am initializing pySerial with the following…
Martin
  • 347
  • 1
  • 2
  • 13
0
votes
1 answer

What is wrong with this attempt of sending a break-signal?

I have quite a headache about this seemingly easy task: send a break signal to my device, like the wxTerm (or any similar Terminal application) does. This signal has to be 125ms long, according to my tests and the devices specification. It should…
Jook
  • 4,564
  • 3
  • 26
  • 53
0
votes
1 answer

How to enable FlowControl with RabbitMQ

does anyone know how to enable RabbitMQ Flow Control in C# ? I tried something like this: channel = connection.CreateModel(); channel.ChannelFlow(true); channel.FlowControl += new…
-1
votes
1 answer

Acknowledgments in flow control protocol

Can someone explain it to me as to why in selective repeat it's not possible for an acknowledgment to come for a packet that falls outside the current window? Because it may be possible that there is some delayed acknowledgment. It's possible in…
-1
votes
1 answer

Arduino Systematic Flow control

I'm trying to get arduino uno to sequentially extract liquid from each of four chambers to a main chamber using solenoid vales, flowmeter, level sensors, and a centrifugal pump. process being open main tank solenoid valve, open valve one, extract…
-1
votes
5 answers

`elif` not recognized

I'm trying to use flow control if x == `Lala´: print(`lalalala.´) elif != `lala´: print (`lololol.´) The problem I have is a syntax error with - e - from elif and when I skip four spaces at the front or four spaces at the back the…
lalaal
  • 1
-1
votes
1 answer

Saving results of CPLEX with flow control (change data solve with regenerate)

After looking through stackoverflow + IBM forum + Alex Fleischer's How to Linkedin page, I manage to run my problem with script, changing a parameter at every iteration(flow control). However, I want to save the output of each iteration into a…
-1
votes
1 answer

How to simulate TCP (Flow Control and Congestion Control) in java?

I'm trying to simulate flow control and congestion control in java. I have a simple code with a TCP-Client and TCP-Server, but I need to separate it into two parts: Flow Control and Congestion control. Then, I need to capture TCP packets in…
-2
votes
2 answers

Handling nested ladder python

I have some multiple condition with boolean in dictionary d = { "statement01" = True, "statement02" = True, "statement03" = False, "statement04" = False, "statement05" = False } And I use if…
1 2 3
11
12