search
Log In

Recent questions tagged tcp

2 votes
5 answers
1
Consider the three-way handshake mechanism followed during $\text{TCP}$ connection establishment between hosts $P$ and $Q$. Let $X$ and $Y$ be two random $32$-bit starting sequence numbers chosen by $P$ and $Q$ respectively. Suppose $P$ sends a $\text{TCP}$ connection request message to $Q$ with a ... $\text{SEQ}$ number $=Y$, $\text{ACK}$ bit $=1$, $\text{ACK}$ number $=X$, $\text{FIN}$ bit $=0$
asked Feb 18 in Computer Networks Arjun 1.4k views
3 votes
3 answers
2
A $\text{TCP}$ server application is programmed to listen on port number $P$ on host $S$. A $\text{TCP}$ client is connected to the $\text{TCP}$ server over the network. Consider that while the $\text{TCP}$ connection was active, the server machine $S$ crashed ... it will receive a $\text{RST}$ segment If the client sends a packet after the server reboot, it will receive a $\text{FIN}$ segment
asked Feb 18 in Computer Networks Arjun 1.7k views
6 votes
3 answers
3
Consider two hosts $P$ and $Q$ connected through a router $R$. The maximum transfer unit $\text{(MTU)}$ value of the link between $P$ and $R$ is $1500$ bytes, and between $R$ and $Q$ is $820$ bytes. A $\text{TCP}$ segment of size $1400$ bytes ... is required to resend the whole $\text{TCP}$ segment. $\text{TCP}$ destination port can be determined by analysing $\textit{only}$ the second fragment.
asked Feb 18 in Computer Networks Arjun 1.5k views
1 vote
3 answers
4
In context of TCP/IP computer network models, which of the following is FALSE? Besides span of geographical area, the other major difference between LAN and WAN is that the later uses switching element. A repeater is used just to forward bits from one network to another one. IP layer is connected oriented layer in TCP/IP. A gateway is used to connect incompatible networks.
asked Mar 31, 2020 in Computer Networks Lakshman Patel RJIT 602 views
1 vote
4 answers
5
A packet whose destination is outside the local $TCP/IP$ network segment is sent to ________. File server $DNS$ server $DHCP$ server Default gateway
asked Mar 24, 2020 in Computer Networks jothee 304 views
7 votes
2 answers
6
Consider a $\textsf{TCP}$ connection between a client and a server with the following specifications; the round trip time is $6$ ms, the size of the receiver advertised window is $50$ KB, slow-start threshold at the client is $32$ KB, and the maximum segment size is ... . Then the size of the congestion window (in $\text{KB}$) at time $t+60$ ms after all acknowledgements are processed is _______
asked Feb 12, 2020 in Computer Networks Arjun 5.9k views
2 votes
4 answers
7
Checksum field in TCP header is ones complement of sum of header and data in bytes ones complement of sum of header, data and pseudo header in $16$ bit words dropped from $\text{IPv6}$ header format better than $\text{md5}$ or $\text{sh1}$ methods
asked Jan 13, 2020 in Computer Networks Satbir 1.1k views
4 votes
3 answers
8
The persist timer is used in TCP to To detect crashes from the other end of the connection To enable retransmission To avoid deadlock condition To timeout FIN_Wait$1$ condition
asked Jan 13, 2020 in Computer Networks Satbir 1k views
1 vote
2 answers
10
Suppose two TCP connections are present over some bottleneck link of rate R bps. Both connections have a huge file to send (in the same direction over the bottleneck link). The transmissions of the files start at the same time. What transmission rate would TCP like to give to each of the connections?
asked Apr 18, 2019 in Computer Networks ajaysoni1924 567 views
1 vote
1 answer
11
Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 90; the second has sequence number 110. How much data is in the first segment? Suppose that the first segment is lost but the second segment arrives at B. In the acknowledgment that Host B sends to Host A, what will be the acknowledgment number?
asked Apr 18, 2019 in Computer Networks ajaysoni1924 3.1k views
1 vote
1 answer
12
True or false? Host A is sending Host B a large file over a TCP connection. Assume Host B has no data to send Host A. Host B will not send acknowledgments to Host A because Host B cannot piggyback the acknowledgments on data. The size of the TCP rwnd never ... sequence number 38 and 4 bytes of data over a TCP connection to Host B. In this same segment the acknowledgment number is necessarily 42.
asked Apr 18, 2019 in Computer Networks ajaysoni1924 539 views
1 vote
2 answers
14
Why is it that voice and video traffic is often sent over TCP rather than UDP in today’s Internet? (Hint: The answer we are looking for has nothing to do with TCP’s congestion-control mechanism.)
asked Apr 18, 2019 in Computer Networks ajaysoni1924 216 views
1 vote
1 answer
16
Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number x and destination port number y. What are the source and destination port numbers for the segments traveling from Host B to Host A?
asked Apr 18, 2019 in Computer Networks ajaysoni1924 477 views
0 votes
1 answer
17
0 votes
0 answers
18
To address the limitations of IP version 4, a major effort had to be undertaken via IETF that resulted in the design of IP version 6 and there are still is significant reluctance in the adoption of this new version. However, no such major effort is needed to address the limitations of TCP. Explain why this is the case.
asked Mar 18, 2019 in Computer Networks ajaysoni1924 256 views
1 vote
1 answer
19
What is the fastest line speed at which a host can blast out 1500-byte TCP payloads with a 120-sec maximum packet lifetime without having the sequence numbers wrap around? Take TCP, IP, and Ethernet overhead into consideration. Assume that Ethernet frames may be sent continuously.
asked Mar 18, 2019 in Computer Networks ajaysoni1924 617 views
0 votes
1 answer
20
A TCP machine is sending full windows of 65,535 bytes over a 1-Gbps channel that has a 10-msec one-way delay. What is the maximum throughput achievable? What is the line efficiency?
asked Mar 18, 2019 in Computer Networks ajaysoni1924 287 views
2 votes
2 answers
21
If the TCP round-trip time, RTT, is currently 30 msec and the following acknowledgements come in after 26, 32, and 24 msec, respectively, what is the new RTT estimate using the Jacobson algorithm? Use α = 0.9.
asked Mar 18, 2019 in Computer Networks ajaysoni1924 1.2k views
1 vote
3 answers
22
Consider the effect of using slow start on a line with a 10-msec round-trip time and no congestion. The receive window is 24 KB and the maximum segment size is 2 KB. How long does it take before the first full window can be sent?
asked Mar 18, 2019 in Computer Networks ajaysoni1924 286 views
1 vote
1 answer
25
1 vote
1 answer
26
A process on host 1 has been assigned port p, and a process on host 2 has been assigned port q. Is it possible for there to be two or more TCP connections between these two ports at the same time?
asked Mar 18, 2019 in Computer Networks ajaysoni1924 366 views
1 vote
1 answer
27
0 votes
1 answer
28
...