subject

This assignment requires you to develop two python programs. one is a client, the other is the server. stuck on a few different spots of this python assignmentserverthe server should “register” x procedures that the client will be able to call. it will then bind to the address “localhost” and port 8000. this is the address and port that the server will listen to for requests. note that if you have binding errors, you may use another port as your computer may have an application that is using 8000. most of the time, however, this will work. your server invocation must be in the following form: python server. py localhost 8000these procedures to be supported are as follows: name – returns the name of the server which is passed on the commandline during server – returns a list of procedures that the server supportsservertime – returns the current time at the server in 24 hour format. i. e. 13: 00: 01add(x, y) – returns the sum of x and ysub(x, y) – returns x – ymult(x, y) – returns x * ydiv(x, y) – returns x/yclientthe client is to connect to the server using the server’s address and the port that the server is listening on (see above). it then will exercise each of the supported procedures using the values 8 and 6 for the values x and y respectively. your client invocation must be in the following form: python client. py host_address host_port 8 6where host_address and host_port are the address and port that the server is listening on. if you are using a single computer for server and client computers just use “localhost” for the address and the port used above. the 8 and the 6 are the values for x and y.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 − x3 + 3x4 − x5 = 6 x1 − 3x2 + x3 + 2x4 − x5 = −6 2x1 + x2 + x3 − 3x4 + x5 = 3 x1 − x2 + 2x3 + x4 − x5 = −3 2x1 + x2 − x3 + 2x4 + x5 = 5
Answers: 3
You know the right answer?
This assignment requires you to develop two python programs. one is a client, the other is the serve...
Questions
question
Mathematics, 28.01.2021 19:10
question
Mathematics, 28.01.2021 19:10