Skip to content

Commit d4e90a0

Browse files
Update README.md
Signed-off-by: Glenn Fiedler <[email protected]>
1 parent ffcf028 commit d4e90a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
# Design
1010

11-
Real-time multiplayer games typically use UDP instead of TCP, because they are latency sensitive and typically need the most recent state, and TCP holds the most recent state hostage while waiting for older dropped packets to be retransmitted.
11+
Real-time multiplayer games typically use UDP instead of TCP, but UDP doesn't provide any concept of connection.
1212

13-
The problem is that UDP doesn't provide any concept of connection, so you want to use UDP you have to to build up your own client connection system, timeouts, sequence numbers and security all by yourself.
13+
So you want to use UDP you have to to build up your own client connection system, timeouts, sequence numbers and security all by yourself.
1414

15-
**netcode** fixes this by providing the simplest possible secure connection-oriented approach on top of UDP so you can quickly exchange unreliable unordered packets, without having to build your own connection oriented protocol.
15+
**netcode** fixes this by providing a connection-oriented approach on top of UDP so you can quickly exchange unreliable unordered packets.
1616

17-
The netcode server manages n slots for clients to connect to, while providing security features like encrypted and signed packets, protection against packet replay attacks, and a novel 'connect token' system that only allows authenticated clients to connect to your server.
17+
The netcode server manages n slots for clients to connect to, while providing security features like encrypted and signed packets, protection against packet replay attacks, and a novel 'connect token' system that only allows authenticated clients to connect.
1818

19-
Building and testing all these features yourself on top of UDP is complex and error prone, and frankly take a lot of time to do properly, so if you are thinking of building your own game network protocol from scratch, netcode can be a good starting point and save you a lot of time.
19+
Building all these features yourself is complex and error prone, and takes a lot of time to do properly. If you are thinking of building your own game network protocol from scratch, netcode can be a good starting point and save you a lot of time.
2020

2121
# Features
2222

0 commit comments

Comments
 (0)