Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using socket programming, implement TCP client and server applications in go, python, java or C. The server should listen on port 9955 . The server

Using socket programming, implement TCP client and server applications in go, python, java or C. The server should listen on port 9955 . The server waits for a message from a client. If the message is with one of the students ID, the sever should do the following: 1. display a message on the server side that the OS will lock screen after 10 seconds 2. send a message to the client that the sever will lock screen after 10 seconds 3. then wait 10 seconds 4. then call a function lock the screen of the operating system (windows or Linux or MAC). Any student ID of the group member should work. Any other student number or any text should display an error message on the server side and no lock screen should be done.
image text in transcribed
Using socket programming, implement TCP client and server applications in go, python, java or C. The server should listen on port 9955 . The server waits for a message from a client. If the message is with one of the students ID, the sever should do the following: 1. display a message on the server side that the OS will lock screen after 10 seconds 2. send a message to the client that the sever will lock screen after 10 seconds 3. then wait 10 seconds 4. then call a function lock the screen of the operating system (windows or Linux or MAC). Any student ID of the group member should work. Any other student number or any text should display an error message on the server side and no lock screen should be done

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions