Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [tcp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
203 views

'Half-Close' figure of Data Communications and Networking, 5/e

In the Figure 24.13 of Data Communications and Networking, 5/e the first ACK message from the server holds y-1 in it's Sequence no. field. Note that the first FIN ...
Argon's user avatar
  • 103
2 votes
1 answer
360 views

Help understanding ip address classes

microsoft.com has the ip address 23.96.52.53 Since the first number is $23$, this is class A. Does this mean microsoft owns all the addresses from 23.0.0.0 to 23.255.255.255 ?
AgentS's user avatar
  • 131
1 vote
2 answers
410 views

Why timeout in TCP is not a predefined fixed value?

Why timeout in TCP is not a predefined fixed value? I know there is a set value of 15 for a timeout value but I was asked why timeout in TCP is not a predefined fixed value which I couldn't find an ...
Manoj Selvakumar's user avatar
1 vote
1 answer
4k views

ip/tcp packet decoding without wireshark

How can we manually read and interpret packets properly without using wireshark? Now from the Ethernet header I know that the Destination MAC Address should be at the 5th byte (after converting bits/...
x89's user avatar
  • 167
1 vote
1 answer
264 views

Is this applet implementation for the Go-Back-N ARQ protocol correct?

I was reading a textbook describing the Go-Back-N (GBN) protocol with Finite State Machines as pictured below: $\Lambda$ just means "initial state" or "no action", depending on ...
amjad's user avatar
  • 135
1 vote
1 answer
55 views

binary representation of ip prefixes

How does an ip prefix 90.0.0.0/4 translate to 0101∗ in binary and 10.0.0.0/2 to ...
x89's user avatar
  • 167
1 vote
1 answer
37 views

Source and Destination IP of TCP connection

Five Tuple Identifier of TCP connection is (TCP, local IP, local port, remote IP, remote port). I have made 3 computers in virtual box and set BOX1 for client, BOX2 for median, and BOX3 for server. ...
Sungtaek Yang's user avatar
1 vote
0 answers
27 views

Current research in TCP congestion control?

Question: What are the current main challenges in TCP congestion control algorithms? Are there any foundational trade offs that algorithms need to make? E.g. minimizing router buffer sizes while ...
Edvard Fagerholm's user avatar
1 vote
1 answer
434 views

Tearing down the FSM description of congestion control

I was going through the text Computer Networking- A Top-Down Approach by Kurose and Ross, there I found subtleties with the TCP congestion control FSM which is shown below: Mainly I am having ...
Abhishek Ghosh's user avatar
1 vote
1 answer
27 views

Uncertainty of coroutines writing to single socket

A program runs in a low-spec hardware utilizes coroutines writes to a single socket but how does the socket know when the data should be sent as there could more coroutines writing given N time. I ...
jeffbRTC's user avatar
  • 111
1 vote
0 answers
17 views

Designing and implementation a publish subscriber system [closed]

I have to build a simple publish-subscribe system in say C++ for example that can handle multiple subscriber. I have never done anything like that although I have made HTTP server and client, but not ...
Kumar Roshan Mehta's user avatar
0 votes
1 answer
450 views

which ip and mac address is added to the header of data packets?

I know that in the Internet layer, the source ip and mac address and destination ip and mac address are added to the header. Is this the ip and mac address of the next router we take to get to the end ...
M G's user avatar
  • 65
0 votes
1 answer
43 views

tcp congestion avoidance

I came across this question: ...
x89's user avatar
  • 167
0 votes
1 answer
1k views

Which one of the following is NOT a function of transport layer?

A. routing B. flow-control C. congestion control D. All of the above My guess is flow-control only because routing and congestion is part of the network layer. The network layer is the third later and ...
Manoj Selvakumar's user avatar
0 votes
1 answer
101 views

Go back n on server side

I am implementing a UDP based go back n example and I am a bit stuck on how the server should respond to packets. If my client has a sliding window of say 5, it can send 5 packets to the server ...
berimbolo's user avatar
  • 115
0 votes
1 answer
197 views

Go-Back-N Protocol not efficient?

Let's say we have five packets p1 p2 p3 p4 p5 to be sent sequentially: and for some reasons, p3 got delayed so it the the last packet to arrive recevier. so below is the receiving order on the ...
amjad's user avatar
  • 135
0 votes
2 answers
148 views

Why are processes on the internet not required to use TCP or UDP?

Here is an excerpt from Andrew S. Tanenbaum, Computer Networks, 5th edition, Chapter 5 (The Network layer), Page 455: [Fifth, processes on the Internet are not required to use TCP or UDP. If a user on ...
Nurin Izzati Jafri's user avatar
0 votes
1 answer
40 views

network address translation

I'm having some difficulty understanding ip addresses. Let's say: Question Info: private subnet 192.168.0.0/24 IP addresses 212.201.49.1-5 Now, a host 192.168.0.2:1234 retrieves a web page from ...
x89's user avatar
  • 167
0 votes
1 answer
149 views

Duplicating ACKs and Window Sizes

After reading an answer at this link: https://serverfault.com/questions/503345/three-duplicate-acknowledgementss I am confused. Do ACK values repeat when a packet is lost or when an out of sequence ...
x89's user avatar
  • 167
0 votes
1 answer
48 views

Urgent Flag of TCP, Computer Networks

The Urgent Flag(URG) is set whenever the sender's Application Layer wants to send some urgent data to the receiver. In this case, the Transport Layer does not wait for enough data to achieve maximum ...
Kanishk's user avatar
0 votes
1 answer
43 views

default TCP Maximum Segment Size

Why default TCP Maximum Segment Size is 536? If found this line in TCP/IP by behrouz forouzan
Vishal Upadhayay's user avatar
0 votes
0 answers
45 views

What is practical implication of Bandwidth delay product?

It's given that the bandwidth-delay product defines the number of bits that can fill the link; while the sender can send (1+(2 * Bandwidth * Delay)) units before getting acknowledged for the first ...
SUNITA GUPTA's user avatar
0 votes
0 answers
116 views

Why is vulnerable time equal to 2*Tp where Tp is Transmision time? (pure-ALOHA)

In pure aloha the if one frame is been transmitted and another is send during the transmission then the whole frames get destroyed. Vulnerable time is the time period where there is the chance for ...
idontknow's user avatar
0 votes
1 answer
62 views

TCP Warp Around time - Sequence number Problem

Consider a long-lived TCP session with an end-to-end bandwidth of 1Gbps. The session starts with a sequence number of 1234. The minimum time (in seconds, rounded to the closet integer) before this ...
Aamod Thakur's user avatar
0 votes
0 answers
1k views

Decode TCP Payload data

I'm trying to find out what the data of a packet means. I'm a newbie to networking, and I try to find what's sent in this packet: https://pastebin.com/hZEqjmBx How can I do that? What does that data ...
Alex Stroescu's user avatar
0 votes
0 answers
24 views

Socket API in TCP

According to me Statement S1 and S2 is True while S3 is False. The Solution says 'S3' is correct ? Am I Wrong ? Kindly help with explanation . I know Connect() in TCP is used by the client side for ...
Dan Watson's user avatar
0 votes
1 answer
25 views

data carried during TCP control flow

I am learning about TCP control flow and came across a question about how much data is carried by the 4th segment. The answer is supposed to be 1200 (2230 - 1030) but I don't quite understand why. ...
Jnl's user avatar
  • 103
0 votes
1 answer
122 views

why not just one header in TCP/IP?

I was reading through the computer network fundamentals. I noticed that there are headers added at each layer in the OSI model. However, can we not have just one header above the App layer that ...
user527248's user avatar
-1 votes
2 answers
82 views

How does ssl handshake secures TCP connection?

I will explain whatever I understand about SSL handshake or simply SSL. First client sends hello to server Server sends signed certificate with its public key. Client checks if certificate is valid, ...
jacnab's user avatar
  • 1