You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The sender transmits the **codeword** (מילת קוד) $P = (M,R)$ of length $n=m+r$.
59
-
- The receiver receives $(M',R')$ and checks if $R' = f(M')$, if yes, assume no error with high probability, else, error detected.
56
+
-**error detection and correction** (**EDAC**) (or **error control**)
57
+
- "The handling of errors in data transmission." [@Forouzan, 2012]
58
+
- Error-detection codes
59
+
-**forward error correction** (FEC)
60
+
- "The process that enables a receiver, upon detecting an error in the arriving data, to correct the error without further information from the transmitter." [@West, 2021]
61
+
- "Correction of errors at the receiver without retransmission." [@Forouzan, 2012]
- The **minimum Hamming distance** of a code $\mathcal{C}$ is $\displaystyle d_{\min} = \min_{c_1 \neq c_2 \in \mathcal{C}} d(c_1,c_2)$.
79
96
80
-
נצילות השידור
97
+
81
98
### parity checks
82
99
83
100
@@ -118,11 +135,12 @@ bit-oriented
118
135
119
136
120
137
121
-
122
-
123
138
## Error control
124
139
### Stop-and-wait ARQ
125
140
141
+
-**stop-and-wait**
142
+
- "A protocol in which the sender sends one frame, stops until it receives confirmation from the receiver, and then sends the next frame" [@Forouzan, 2012]
- The **bandwidth-delay product**, $\text{RTT} \times \text{bandwidth}$, in bits, is the amount of data that can be in transit in the network at any given time
46
+
-**bandwidth-delay product** (in bits)
47
+
- $\text{RTT}\times\text{bandwidth}$
48
+
- the amount of data that can be in transit in the network at any given time
49
+
- "The bandwidth-delay product defines the number of bits that can fill the link." [@Forouzan, 2012]
50
+
- link utilization = $\displaystyle\frac{\text{data in flight}}{\text{bandwidth-delay product}}$
Copy file name to clipboardExpand all lines: notes/Computer Networks/intro.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@
56
56
57
57
58
58
-**protocol data unit (PDU)**
59
-
- _"The combination of data from the next higher layer and control information"_ [^1]
60
-
- _"Another name for a packet or frame"_. [^2]
61
-
- _"A PDU at layer $N$ is a message sent between protocols at layer $N$. It consists of layer $N$ header information and an encapsulated message from layer $N+1$, which is called both the layer $N$ SDU and the layer $N+1$ PDU"_. [^3]
59
+
- _"The combination of data from the next higher layer and control information"_ [@Stallings, 2013]
60
+
- _"Another name for a packet or frame"_. [@Peterson, 2020]
61
+
- _"A PDU at layer $N$ is a message sent between protocols at layer $N$. It consists of layer $N$ header information and an encapsulated message from layer $N+1$, which is called both the layer $N$ SDU and the layer $N+1$ PDU"_. [@Kozierok, 2005]
62
62
-**service data unit (SDU)**
63
63
- (**packet**)
64
64
- (1) _a generic term used to describe unit of data at all levels of the protocol stack_. ([RFC 1594](https://www.rfc-editor.org/rfc/rfc1594.html))
- _"A self-contained, independent entity of data carrying sufficient information to be routed from the source to the destination computer without reliance on earlier exchanges between this source and destination computer and the transporting network"_. ([RFC 1594](https://www.rfc-editor.org/rfc/rfc1594.html))
70
+
- (**frame**)
71
+
- "A packet at the data-link layer is normally called a _frame_." [@Forouzan, 2012]
- "A technique used to distinguish control sequences and data on the bit level." [@Peterson, 2020]
90
+
- "In a bit-oriented protocol, the process of adding an extra bit in the data section of a frame to prevent a sequence of bits from looking like a flag." [@Forouzan, 2012]
91
+
-**byte stuffing**
92
+
- "The process of adding one extra byte whenever there is a flag or escape character in the text." [@Forouzan, 2012]
93
+
- "In a byte-oriented protocol, the process of adding an extra byte in the data section of a frame to prevent a byte from looking like a flag." [@Forouzan, 2012]
94
+
-**bit-oriented protocol**
95
+
- "A protocol in which the data frame is interpreted as a sequence of bits" [@Forouzan, 2012]
96
+
-**byte-oriented protocol**
97
+
- "A protocol in which the data section of the frame is interpreted as a sequence of bytes (characters)." [@Forouzan, 2012]
98
+
86
99
87
-
[[Transport layer]]
88
-
# Internet layer
89
100
90
101
91
-
[^1]: Stallings, W. (2013). _Data and computer communications_.
92
102
93
-
[^2]: Peterson, L. L., & Davie, B. (2020). _Computer networks: A Systems Approach_. Morgan Kaufmann Publishers.
94
103
95
-
[^3]: Kozierok, C. M. (2005). _The TCP/IP guide: A Comprehensive, Illustrated Internet Protocols Reference_. No Starch Press.
0 commit comments