Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a client to server program using TCP. The client sends requests to the server and the server replys back. Client can send the following

Write a client to server program using TCP. The client sends requests to the server and the server replys back.

Client can send the following request to the server:

1. add(ID, firstName, LastName, score): ID is a random 6-digit number. Score is 0-100

2. display(ID): request sends the ID to the server and server returns the students information.

3. display(score): request sends a score to the server and the server returns the information of all the students with that score.

4. display_all: request displays the information of all the student currently in the database.

5. delete(ID): request deletes the student with that ID

This can be done in JAVA, C, or C++. I know how to program in these languages but I just have never done a client-server program before. Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

What factors account for the resurgence of interest in OSCM today?

Answered: 1 week ago