Tag Archives: udp sockets

How to Program UDP sockets in Python – Client and Server Code Example

By | August 7, 2020

UDP sockets UDP or user datagram protocol is an alternative protocol to its more common counterpart TCP. UDP like TCP is a protocol for packet transfer from 1 host to another, but has some important differences. UDP is a connection-less and non-stream oriented protocol. It means a UDP server just catches incoming packets from any… Read More »

Udp Socket Programming in Java – How to Code Client and Server

By | August 5, 2020

UDP – User Datagram Protocol sockets UDP is an alternative protocol to the more commonly used TCP protocol. It is a connection-less protocol where you directly send packets without have to establish a proper connection. UDP packets have smaller headers compared to TCP headers. Also data communication is faster since no acknowledgement is exchanged for… Read More »