-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/DjakeDjone/lexica
- Loading branch information
Showing
2 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# TCP Protokoll | ||
## Überblick | ||
- [Aufbau](#aufbau) | ||
- [Verbindungsaufbau](#verbindungsaufbau) | ||
- [Kommunikation](#kommunikation) | ||
- [Verbindungsabbau](#verbindungsabbau) | ||
|
||
|
||
|
||
## Aufbau | ||
|
||
## Verbindungsaufbau | ||
### Three-Way-Handshake | ||
```text | ||
Client: SYN | ||
Server: SYN, ACK | ||
Client: ACK | ||
``` | ||
|
||
## Kommunikation | ||
### Half-Dublex | ||
``` | ||
Sender: ------ 1000 Byte ------> Client | ||
Sender: <----- ACK ------- Client | ||
Sender: ------ 1000 Byte ------> Client | ||
Sender: <----- ACK ------- Client | ||
``` | ||
**Problem: langsam** | ||
|
||
### Full-Dublex | ||
An dem Acknowledge Packet werden Daten angehängt. | ||
``` | ||
Sender: ------ 1000 Byte ------> Client | ||
Sender: <----- ACK+1000Byte ---- Client | ||
Sender: ------ 1000 Byte ------> Client | ||
Sender: <----- ACK+1000Byte ---- Client | ||
``` | ||
**Problem: Datenverlust** | ||
Window-Size: Gibt an wie viele Pakete gesendet werden können. Ist die Window-Size 1, dann wird nur ein Paket gesendet und auf das Acknowledge gewartet. <br> | ||
<mark>Umso mehr Daten verloren gehen, desto kleiner wird die Window-Size</mark> | ||
|
||
|
||
### Verbindungsabbau | ||
```text | ||
Client: FIN | ||
Server: ACK | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters