an example client server application implementing the server application we shall describe the server application first this is the python application program that will service requests from client applications to do this it must provide server socket for clients to connect to this is done by first binding server socket to port on the server machine the server program must then listen for incoming connections the listing presents the source code for the server program import socket def main()setup names and offices addresses {'john'' ''denise'' ''phoebe'' ''adam'' 'print('starting server'print('create the socket'sock socket socket(socket af_inetsocket sock_streamprint('bind the socket to the port'server_address (socket gethostname() print('starting up on'server_addresssock bind(server_addressspecifies the number of connections allowed print('listen for incoming connections'sock listen( while trueprint('waiting for connection'connectionclient_address sock accept(