/LiteUDP

A Lite UDP Library for C#

Primary LanguageC#MIT LicenseMIT

LiteUDP

LiteUDP is a Lite UDP Library for C#,which is included by a asynchronous client and a asynchronous server. You can just download the source code and complie it,then input any string you like on the client console and they will be showed on the server console.

Feature

1.Use SocketAsyncEventArgs for asynchronous I/O;
2.Use KCP as ARQ Protocol;
3.Simple Session Manage;
4.Two times handshake;

Usage

1.Client Command
connect:connect to server
send "anything you like":send message to server
loop "anything you like":send message to server,1 time per 10ms
exit:shutdown client
2.Server Command
start:start the server
exit:shutdown server