Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CSE 5344 Computer Networks Fall 2022 Assignment 2 Due Date: November 2, 2022 Full Points: 100 Instruction: For this homework, you can use multiple
CSE 5344 Computer Networks Fall 2022 Assignment 2 Due Date: November 2, 2022 Full Points: 100 Instruction: For this homework, you can use multiple resources and you can discuss with your classmates, but you must write your own code. If anything found copied, everyone involved will be penalized -100 (negative 100). You must submit zipped folder of your code. Objective: An introduction to socket programming: Client-server architecture Description: Using client-server architecture and caching, this assignment introduces the socket programming. Create a continuously running client-server based application (along with proxy server) that retrieves key-value pairs using socket programming. The server facilitates service for commands like GET, PUT and DUMP, for the corresponding multiple pair (of key-value) stored. To achieve this, any programming language and any IDE can be used. Problem statement: 1. Implement PUT command on the server 2. Implement GET command on the server 3. Implement DUMP command on the server (25 points) (25 points) (25 points) (25 points) 4. Implement proxy server (for caching) that returns the value of GET command if has been previously requested by the client Sample DEMO(At Client): PUT: Syntax: PUT [key] = [value] PUT command is used to PUT a key-value pair on the server. In the below sample, there are two key-value pairs: 1. name = John 2. lastname Doe Select either of one: PUT GET DUMP PUT name = John Request forwarded to the SERVER Select either of one: PUT GET DUMP PUT lastname = Doe Request forwarded to the SERVER
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started