As I mentioned before this will be a tutorial series targeted at somewhat knowledgable C# developers about building a TCP server/client setup. I will go over all the bits and bobs I’ve built for my solution and how it all works together to provide a reliable TCP networking layer that’s completely and easily customizable by anyone that follow through this tutorial.
Before we get into the actual server and client coding we need to build some helper classes to make our life easier. These should be created as DLLs since they will be self contained and we won’t have to change anything once we build the DLL. To begin with, we’ll code the ByteBuffer class and then we’ll deal with the NetworkPacket one.