Questions tagged [tcp]
27 questions
3
votes
1 answer
'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 message from the client message had y in it's Acknowledgement no. field. So shouldn't…
Argon
- 103
- 6
2
votes
1 answer
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
- 131
- 3
1
vote
0 answers
Designing and implementation a publish subscriber system
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 a publish subscriber system so I thought to ask…
Kumar Roshan Mehta
- 111
- 4
1
vote
0 answers
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 quickly reacting to available bandwidth on noisy…
Edvard Fagerholm
- 203
- 1
- 7
1
vote
2 answers
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 explantion for.
Manoj Selvakumar
- 11
- 2
1
vote
1 answer
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 difficulty in understanding the action transmit new…
Abhishek Ghosh
- 1,184
- 9
- 24
1
vote
1 answer
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 find this problem similar to The halting problem…
jeffbRTC
- 111
- 2
1
vote
1 answer
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 the context. My questions are
This is the interactive animations link…
amjad
- 135
- 3
1
vote
1 answer
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 this:
00*
I'm trying to understand it since a while now but I am unable to derive the logic.
x89
- 167
- 1
- 10
1
vote
1 answer
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. And made interfaces between them to…
Sungtaek Yang
- 35
- 1
- 5
1
vote
1 answer
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/bytes). So from this data, I thought it would be…
x89
- 167
- 1
- 10
0
votes
1 answer
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 defines the header details of every layer ?
I would…
user527248
- 3
- 2
0
votes
1 answer
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 sequence number can be used again is _________.
The…
Aamod Thakur
- 7
- 1
- 3
0
votes
1 answer
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 it provides data routing paths for network…
Manoj Selvakumar
- 11
- 2
0
votes
1 answer
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 without waiting, and any time it receives back an ack…
berimbolo
- 115
- 6