projects

Network Programming Projects

2026 · github

A collection of mini-projects from my computer networks lab course. Mostly C, covering sockets, RPC, and routing algorithms.

ProjectDescription
UDP CommunicationBasic UDP client-server message exchange over loopback
TCP Echo ServerEcho server that bounces back whatever the client sends
TCP Time ServerServer returning the current date and time
DNS Client-ServerSimple DNS server resolving hostnames to IPs
RPC Echo ServiceRPC-based echo service using rpcgen
RPC Daytime ServiceRPC-based daytime service returning server time
RPC Addition ServiceRPC-based service that adds two integers
Bit StuffingHDLC-style bit stuffing
Character StuffingCharacter stuffing using escape bytes
Link State RoutingDijkstra-based link state routing
Distance Vector RoutingBellman-Ford based distance vector routing

Technical Details

  • POSIX sockets API (TCP/UDP)
  • RPC with rpcgen
  • Routing algorithms: Dijkstra, Bellman-Ford
  • Single make to build any project
  • Linux/macOS only (POSIX APIs)