UDP

Writing UDP Client/Server Application with Node.js

Submitted by admin on
Writing UDP server with Node.js Different application require different design of networking protocols. Everything that is built for web is using HTTP (recently WebSockets and WebRTC too for real-time data). If your clients are not browsers and you need reliable and guaranteed channel your choice is TCP/IP. There's however one more protocol that is often used for the cases when the speed is more important that delivery guarantees and ordering: UDP. UDP stands for Unified Datagram Protocol and it shines in the applications like fast-paced online gaming.

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

Submitted by GeePee on
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.