Skip to main content
47 votes
Accepted

What happens when an internet connection is faster than the storage write speed?

Many protocols, including TCP which is most widely used protocol on the Internet, use something called flow control. Flow control simply means that TCP will ensure that a sender is not overwhelming a ...
Sigma's user avatar
  • 685
15 votes
Accepted

TCP Connection Termination - FIN, FIN ACK, ACK

A TCP implementation might send a standalone FIN in the first closing segment. However, it can also send a FIN ACK, instead. The latter is strictly better: the implementation can bundle a "free" ACK ...
chi's user avatar
  • 14.6k
13 votes

What happens when an internet connection is faster than the storage write speed?

what would happen? The bytes that cannot be written to the HDD in time would be buffered temporarily somewhere; very likely some of them would be buffered in the application that "converts" the ...
AnoE's user avatar
  • 1,273
8 votes
Accepted

Why is TCP known as reliable protocol?

TCP is said to be reliable because when an application receives data, it knows that this is exactly the data that the sender sent. No part of the data was lost, reordered, etc. Error control is the ...
Gilles 'SO- stop being evil''s user avatar
5 votes
Accepted

Go Back N ARQ Question

1-2-3 is correctly sent and acknowledged so the sender's window is now over 4-5-6. 4 is ...
Auberon's user avatar
  • 1,314
5 votes

If the two generals problem is unsolvable how can we human beings agree on things?

Because we don't need guaranteed assurance that something will happen when we have sufficient experience that tells us what is likely to happen. For example, let's say that a friend wants to meet up ...
kartik_subbarao's user avatar
5 votes

How does Server know window size for TCP Header?

The Window Size field in the TCP packet header is the number of bytes the sender will buffer for the response. Basically, during the handshake each side will say how large its receive window is. That ...
Derek Elkins left SE's user avatar
5 votes
Accepted

How to distinguish between bits?

If the computer starts in the middle of the stream, it has no way to know—it will be completely confused. Fortunately, that's not how the protocol works. The computer and terminal have to sync up ...
Draconis's user avatar
  • 7,168
5 votes

How do web browsers find out the MAC address?

So, how does the computer find out the MAC address of the server? It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the ...
dkaeae's user avatar
  • 5,027
5 votes
Accepted

What are the underlying mechanisms allowing us to unsend an email?

The e-mail system has no way of manipulating already sent e-mails, no. The only services I've seen which allow you to "unsend" an e-mail simply delay the e-mail being sent for a user-determined ...
Jowsey's user avatar
  • 66
5 votes
Accepted

ip/tcp packet decoding without wireshark

My guess is that what you are seeing is a Level 2 Ethernet frame and therefore the preamble is missing. Also the Ethernet checksum seems to be missing. In this case everything seems to line up (the ...
Steven's user avatar
  • 29.5k
5 votes

Why is TCP known as reliable protocol?

Welcome to CS Stack Exchange! Unlike UDP, TCP provides reliable message delivery. To summarize in some points, we can say that: TCP ensures that data is not damaged, lost, duplicated, or delivered ...
LukeTheWolf's user avatar
4 votes

Why are so many internet protocols text-based?

Your question can be interpreted in three ways: Why is numerical data transmitted in textual representation, as if it had been printed with e.g. printf()? Why do ...
Peter - Reinstate Monica's user avatar
4 votes
Accepted

Why is the vulnerable time in pure aloha twice the frame time?

This is because in pure ALOHA, even if a bit of a frame collides with a bit of another frame, both the frames get discarded. Also, in pure ALOHA, a station doesn't listen to the medium before ...
shantanu4raje's user avatar
4 votes

how applications send tcp data to internet?

Applications don't deal with TCP packets at all. The operating system presents an interface somewhat similar to the file system and the application just writes data to that interface. The OS deals ...
David Richerby's user avatar
4 votes
Accepted

How come Datagram Packets between same source-destination pair may take different routes?

Packets are routed individually: each time a router receives a packet, it decides what to do with that packet. It doesn't necessarily make the same decision each time it receives packets for a ...
David Richerby's user avatar
4 votes

Does UDP always deliver packets inorder to the application layer

No. While UDP does deliver packets reliably 98-99% of the time, without duplicating packets 99.9% of the time, and in-order 99.9% of the time, there is absolutely no guarantee for either of these (in ...
Damon's user avatar
  • 161
4 votes
Accepted

Can we improve internet speed by serializing timestamps?

If we restrict ourselves to the 52 letters from the Latin alphabet that are commonly used in English (i.e. we exclude letters like ï as seen in words like naïve), then we need 6 bits to encode each ...
Jörg W Mittag's user avatar
3 votes

Why is ARP needed in a host - router system if the router already has list of addresses it assigned using dhcp?

The fact that the router has the list does not help when computer A wants to talk to computer B, because neither of the two has the list.
Jörg W Mittag's user avatar
3 votes

How do bridges divide a larger network into smaller broadcast domains?

After quite a bit of research through YouTube and whatnot, I finally managed to find the answer. A bridge (or a switch, both being data-link layer devices) DOES NOT divide the broadcast domains of ...
Tanmay Garg's user avatar
3 votes
Accepted

How would the Internet work between planets?

There would be special protocols for interplanet communication. Right now there are already different routing protocols for connecting different cities, different countries and different continents. ...
yoyo_fun's user avatar
  • 818
3 votes

Link utilization of sliding window protocol

Link utilitization is about the steady state, i.e., what happens when you send a lot of data... not what happens at startup (at the very beginning of the connection). Imagine you have a humongous ...
D.W.'s user avatar
  • 162k
3 votes

When is an ATM network connection superior to an IP connection?

AFAIR ATM was specifically designed to also transfer real time data like voice. This requires guaranteed properties like bandwidth and latency. IP can't give those guarantees as it looses packets and ...
Markus Malkusch's user avatar
3 votes

Benes (Fat Tree) Network for number of inputs/outputs that is not 2^n

Wasting ports to achieve an exact number of terminals is a common attribute of staged networks (butterfly, benes, folded-clos, etc.). The mesh, torus, and flattened butterfly topologies are a bit ...
nic's user avatar
  • 216
3 votes

Why are so many internet protocols text-based?

Another reason for this is that textual protocols are easier to interoperate with, and a lot more flexible for the future. Older generations, especially the folks behind Unix, already went through the ...
Carlos R.F.'s user avatar
3 votes

If all frames are naturally broadcast in a LAN, what is the need for a broadcast address?

So that receiving devices can blindly throw away packets that aren't addressed to them or the broadcast address. Doing this test is much simpler than having to verify the CRC and tossing it up to the ...
ratchet freak's user avatar
3 votes

Combine the following IP Addresses into a single block

An ip address has two parts: the address and the netmask. The address is just a 32-bit binary number. E.g. yours: ...
orlp's user avatar
  • 13.8k
3 votes
Accepted

IP Fragmentation

The IP packet has to include the TCP headers in its payload. Hence we find additional 20 bytes, beyond the 3523 bytes of the sent data (the TCP payload). The total 3543 byes then get fragmented as ...
chi's user avatar
  • 14.6k
3 votes

Does UDP always deliver packets inorder to the application layer

Conversely from TCP, UDP does not guarantee a reliable or ordered delivery of the packets. As the RFC states: This protocol provides a procedure for application programs to send messages to ...
abc's user avatar
  • 1,645

Only top scored, non community-wiki answers of a minimum length are eligible