Academic researchJavaComputer Networks course

TCP/UDP Sockets

TCP and UDP server implementations in Java with graphical client interfaces for network communication.

What it does: A TCP server with a graphical client and a connectionless UDP server, to compare both models.

Overview

A Computer Networks course project that implements concurrent TCP and UDP servers in plain Java. The TCP server listens on port 5004 and comes with a graphical client that connects by entering an IP and a name, sends and receives messages in real time, and controls the connection with disconnect/reconnect buttons. It shows details for each connected client.

The UDP server listens on port 9107, receives datagrams from multiple clients without keeping connection state, shows the source IP and port of each message, and stops after a configurable maximum number of messages. The project is built with Maven and shows the core differences between connection-oriented (TCP) and connectionless (UDP) communication.

Stack

  • Java
  • TCP
  • UDP
  • Sockets
  • Maven
  • Networking

Interested in this kind of work?

I'm looking for remote work as a Full Stack Engineer. If you'd like to talk about this project or your team, get in touch.

Other projects