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

How can i repeat statement "enter marks or grade" with in while loop.In this case every time control back to start of loop to enter subject again?

How can i repeat statement "enter marks or grade" with in while loop.In this case every time control back to start of loop. and i want to repeat enter marks until user want to leave? public class Marks2 { public static void main(String…
saqib riaz
  • 53
  • 1
  • 9
0
votes
2 answers

Checking for evens on a list, and getting a type mismatch in Scala

I'm trying to check the contents of a list to see if an element is even or not. Here is the code: def listEvenChecker2(aList: List[Int]): Boolean = { for (elem <- aList) { if (elem % 2 == 0) { return true …
0
votes
0 answers

I have some questions about TCP receive window

I am currently digging through pcaps, and may have misunderstood some things. Are the following assumptions about the receive window true? RWND is basically the current size of the buffer. It has some max, and the TCP packets contain the current…
Zerg Overmind
  • 955
  • 2
  • 14
  • 28
0
votes
3 answers

Referencing multiple lists until correct combinations achieved

EDITED TO UPDATE MY CODE AND GIVE FULL RESPONSE TO @MOHAMMED Picture, if you will, a cube. Each face of that cube has a group of 4 numbers. Each number on the cube only occurs once. So far, I have managed, with some help from here, to write a…
Escribblings
  • 739
  • 5
  • 9
  • 17
0
votes
1 answer

UART SW and HW flow control, linux

Currently, I'm testing flow control between 2 RS485 UART Port (Just connect Rx and RX, Tx and Tx, DTS/CTS is not connected). Flag setting (between get and set attribute) HW Flow control: tty.c_cflag |= CRTSCTS; // RTS/CTS tty.c_iflag &=…
Jean
  • 3
  • 5
0
votes
1 answer

HTTP2: How to implement flow control feature?

I'm studying some features of http2, one of them is Flow Control and want to understand that How can I implement it. If can, give me an example or demo. Thanks.
Nguyễn Văn Phong
  • 13,506
  • 17
  • 39
  • 56
0
votes
1 answer

0001. elif skipped[beginner]

Please let me know why elif is being ignored? I did get several hits on this topic, however those were not much of help. print('Name?') name=input() if name=='Alex': print('ok') print('Age?') age=input() elif age<12: …
Abhijit
  • 21
  • 1
0
votes
1 answer

Loading data into a FlowControl as you scroll - C#

I'm creating a program which displays product information and I want it to have two display modes, table view and then a scrollable control view with images etc. I have all my product info loaded into a data table and want to use this to populate my…
benjiiiii
  • 478
  • 10
  • 33
0
votes
0 answers

using CTS line on a ch341 usb serial adapter for flow control

I am trying to communicate with a serial device via a ch341 based usb-serial adapter (wemos.cc / ch340). Since the target device has limited buffer size it uses a signal line to indicate if it is safe to send bytes. I have confirmed that the level…
nomis
  • 1
  • 1
0
votes
0 answers

Jmeter execute sampler only on last thread iteration

I'm trying to make a part of my thread group to be executed only in a last iteration of a thread. A thread will be stopped at some moment of time (by pressing stop at gui while debugging, or by sending stoptest.sh signal to the headless load…
Ivan B
  • 23
  • 5
0
votes
1 answer

How to control the amount of connections to webserver

I have built a small car robot using Raspberry Pi. The control for the robot is accessed via an apache webserver hosted on the Pi, which uses PHP to drive the motors based on user input. I plan to open this robot to the internet to allow anyone to…
0
votes
2 answers

Atxmega USART flow control

I'm having some troubles with USART flow control on the Atxmega256. I'm communicating with a modem which uses RTS/CTS for flow control. Once the modem sets CTS to low, I want to stop sending data until it goes high again. I'm currently using…
Fredrik
  • 301
  • 3
  • 10
0
votes
1 answer

Python3 Skipping Flow Check

I'm having a bit of trouble with my python3 persistent password locker. It stores and retrieves passwords as expected/desired, but I decided to insert a "backout" check so that if information is entered incorrectly you can go back and re-enter it.…
user5954772
0
votes
1 answer

Setting hardware flow control parameters in FreeBasic

I'd appreciate advise on how to set the following hardware flow control parameters in FreeBasic ControlHandShake=(DTR_HANDSHAKE, DSR_HANDSHAKE), FlowReplace=(TRANSMIT_TOGGLE, RTS_HANDSHAKE), XonLimit=4096, XoffLimit=1024
Olumide
  • 5,397
  • 10
  • 55
  • 104
0
votes
0 answers

what could happen if data is not transferred in sliding window protocol?

source:https://en.wikipedia.org/wiki/Flow_control_%28data%29 is it like blocking condition,when the reciver recieves only half of the window size of data bytes from the sender?(sender expecting an ack after sending window size!!!).the think he is…