send

Network Programming in Java - #4 - Receiving and Sending Data - Server Listener & Client sendTCP Method

Introduction: This tutorial is the fourth in my Java Network Programming using KryoNet series in which we are going to be adding a listener to our server and sending test data over TCP from the client to the server. Previous: In the previous tutorial we created a test client to connect to our test server. TCP vs. UDP: TCP and UDP are both Protocols which transmit data from one point to another through data streams.