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
If message is GET
dictionary that satisfy properties described in
If message is PIN
If message is UNPIN
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
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