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, 22.06.2019 10:30
Think about a recent customer service experience - either positive or negative. write a brief summary of that experience. now think about those four characteristics we look for in customer service representatives. how did the representative in your example stack up? write down your answer and give specific examples.
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
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, 21.02.2021 14:00
question
Arts, 21.02.2021 14:00
question
English, 21.02.2021 14:00
question
Mathematics, 21.02.2021 14:00
question
Spanish, 21.02.2021 14:00
question
Mathematics, 21.02.2021 14:00
question
Mathematics, 21.02.2021 14:00
Questions on the website: 13722360