You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 14:46:29 +09:00
NetConnection.Status added - reflects the "message consumed" status for consistency. Encryption work in progress.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
Lidgren basics</h1>
|
||||
<p>
|
||||
Lidgren network library is all about messages. There are two types of messages:</p>
|
||||
<li>Library messages telling you things like a peer has connected or error messages when unexpected things happen.</li>
|
||||
<li>Library messages telling you things like a peer has connected or diagnostics messages (warnings, errors) when unexpected things happen.</li>
|
||||
<li>Data messages which is data sent from a remote (connected or unconnected) peer.</li>
|
||||
<p>
|
||||
The base class for establishing connections, receiving and sending message are the NetPeer class. Using it you can make a peer-to-peer network, but if you are creating a server/client topology there are special classes called NetServer and NetClient. They inherit NetPeer but sets some defaults and includes some helper methods/properties.</p>
|
||||
|
||||
Reference in New Issue
Block a user