top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why can't we set bandwidth/throughput for TCP?

+2 votes

We can set bandwidth for UDP while TCP uses its maximum bandwidth...why it is like this?

posted Jan 23, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
Cant understand, can u please explain in detail what is the meaning of UDP bandwidth setting?
While testing UL and DL with the use of iperf tool,
In that for UDP for setting the bandwidth we are giving (-b 64M)
But in case of TCP we are not setting the bandwidth. (-b is not there for TCP)
Ex: For UDP:
iperf -c IP.ADDR -i 5 -p port no. -u -t time -b bandwidth

EX: for TCP:
iperf -c IP.ADDR -i 5 -p port no. -t time
Because for TCP it is unlimited :)

Similar Questions
+3 votes

When the following iptables rule is used:
iptables -A INPUT -p tcp --dport 1234 -j NFQUEUE --queue-num 0

If a TCP packet is re-transmitted, will the userspace program receive the re-transmitted packet ? or it just receive one packet, and the re-transmitted one is dropped in kernel space ?

+1 vote

TCP and UDP both are IP(Internet Protocol) right?
then why not UDP/IP????

+1 vote

How do i set tcp flags ? I tried

 nft add rule filter output tcp flags {syn,rst} counter

but failed ... also can some point me to valid syntaxes ..

+4 votes

Out of three prominent advance transport protocols (TCP, UDP and SCTP) which is the best to use and why should i use that protocol ?