mirror of
https://github.com/skywind3000/kcp.git
synced 2025-04-28 07:50:14 +08:00
Updated EN_KCP Basic Usage (markdown)
parent
3ddef2c0d5
commit
505b896a04
@ -1,6 +1,19 @@
|
||||
# Usage
|
||||
|
||||
The basic usage steps of KCP:
|
||||
A application or application-level objects can integrate KCP, for example, a UDP server or TCP server or a TCP client program. As KCP does not bind to any transport protocol, application must specifies the transport and use callback for KCP to send or receive data to or from channel.
|
||||
|
||||
```
|
||||
+-------------------+
|
||||
| Application-level |
|
||||
| (transport) |
|
||||
+----------+--------+
|
||||
|
|
||||
+-----+----+
|
||||
| KCP |
|
||||
+----------+
|
||||
```
|
||||
|
||||
The basic usage steps for application which integrate with KCP:
|
||||
|
||||
1. Create a KCP object handler:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user