Question: Description The application you will develop is intended to support clients ability to store notes on server, and to request notes that have certain properties.

Description

The application you will develop is intended to support clients ability to store notes on server,

and to request notes that have certain properties.

Client should be able to make the following requests:

1. Setup a connection with the server

2. Send different types of request messages through established connection:

a. POST

b. GET

c. PIN/UNPIN

d. CLEAR

e. DISCONNECT

Server should be able to do the following:

Accept multiple requests for connections

Maintain an appropriate data structure (notes dictionary or board) that holds data

received from clients

Process messages received from client:

If message is POST , server will have to store the note described in

part of the message.

If message is GET , server has to send to client all notes stored in the

dictionary that satisfy properties described in .

If message is PIN , server must pin all notes relevant to .

If message is UNPIN , server must unpin all notes relevant to .

If message is CLEAR, server must forget all notes which are not pinned.

If message is DISCONNECT, server will disconnect the connection with the

client.

Requirements :

Socket programming in python

Design and document an application-layer protocol.

Develop a client-server network application using stream socket API ( TCP ) of Python

Make sure to use TCP as the transport protocol

that implements the protocol you documented.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!