New answers tagged

2

if this packet gets corrupted then it becomes nak packet This is where you're confused. The packet doesn't become a NAK packet, it gets thrown away because it is corrupted. A NAK is a positive indication that there's a problem, which is not the same as a corrupted packet. Here's an analogy: You ask me "did you get my message?" If I answer "...


3

So it has finite (from 0 to (2^32-1) = 4 Giga sequence numbers) and it means we will be able to send only 4GB of data with unique sequence number not more than that. That's incorrect. The sequence number is used to check and reorder (if necessary) the incoming TCP segments. In order to do so, the sequence number is required to be unique within the current ...


1

"TCP uses "window size", since UDP doesn't acknowledge packets that are recieved, should a similar thing be implemented in the application layer to control the flow of data, or other techniques are used?" You can do that at transport layer with UDP DCCP(Datagram Congestion Control Protocol). The RFC 6773 describes in detail how does the ...


2

Preferably, you configure the laser to use an address that fits your network. If that isn't possible to configure directly, it should be via DHCP - check the device's manual. If the address (and even more importantly the default gateway) cannot be configured, the devices TCP/IP implementation can be considered broken. As a workaround: Most PC operating ...


6

My question is how does the server know how much the client can handle or vice versa, or any router in between. By UDP alone, it doesn't. UDP is "fire and forget" - just send one datagram after the other. If the sender's transmission rate exceeds the path's capacity, excess datagrams are dropped. When using UDP as transport, the application is ...


3

And MSS is one of the parameters which is negotiated during the 3-way handshaking. No, the value is not negotiated, it is simply sent by one or both sides. Technically, do both sides need to agree on an MSS value (the lower value), or each can use their own? No, the sides do not need to agree, and each can have its own MSS. What a particular ...


Top 50 recent answers are included