A c# lib to abstract and create a friendly interface for network jobs
Design Goals: This library is designed to be...
- Fast enough for games
- Robust enough for enterprise applications
- Easy enough for quick learning
Is the basic unit of the network communication, in other words all the information that travels over the network is converted in BasePack before transmission and is subsequently reassembled by the receiver. It simplifies operations with the network buffer and handle reading and writing.
Is the class that should get the arriving packs and put in the pack queue, that will be used by Consumer, and should implement a method that allows to send packs in the network.
Class that get a pack in the pack queue and throws a event in a parallel thrad, sending yourself and the pack for someone to treat the pack.
Derived from Consumer, it uses a hash table to analyze the incoming packet ID and submit to a specific system function, pre registered by the programmer, sending the package exactly where it should go.