A small Java example of communication over UDP (User Datagram Protocol). A command-line client sends text datagrams to a server. The server prints each received message, including the sender's IP address and port, and sends an acknowledgment datagram back to that sender.
java udp udp-server udp-client protocolo-udp servidor-udp comunicacao-udp cliente-udp comunicacao-de-socket
-
Updated
Oct 29, 2026 - Java