Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 932 Bytes

File metadata and controls

27 lines (21 loc) · 932 Bytes

Assignment Requirements

Overview

This document outlines the requirements for the Socket Programming Assignment in Distributed Systems course.

Tasks

Task 1: Hostname to IP Converter

  • Write a simple program that can read a host name and convert it to an IP address
  • Handle both single and multiple IP addresses
  • Provide proper error handling for invalid hostnames

Task 2: Ping-Pong Client-Server Application

  • Server responds with "pong" when receiving "ping"
  • Other messages should be safely dropped by the server
  • Support multiple concurrent clients

Task 3: Uppercase Message Converter

  • Server converts client messages to uppercase
  • Return the converted message back to the client
  • Implement both client and server programs

Technical Requirements

  • Java 17 LTS
  • Socket programming using java.net package
  • Proper error handling and resource management
  • Multi-threading support where applicable