Data Stream

Network Programming in Java - #5 - Packets & KryoNet Registering

Introduction: This tutorial is the fifth in my Java Network Programming using KryoNet series in which we are going to be starting on Packets. Previous: In the previous tutorial we created a listener on our server, and sending a test TCP data-stream from our client. What Are Packets? Packets are essentially temporary files of data which are used to transmit the data from one location to another - our server to client, or vice versa. Our Packets: First create a new Package in our Src folder of our Client Java Project named "P