local machinepass real machine name to talk to server running remotely three console windows come into play in this scheme--the clienta local serverand remote server on windowsthe clientsoutput is discarded when spawned from this scriptbut it would be similar to what we've already seen here' the client window interaction-- clients are spawned locally to talk to both local and remote serverc:\pp \internet\socketsset pythonpath= :\dev\examples :\pp \internet\socketspython testecho py :\pp \internet\socketspython testecho py learning-python com if the spawned clients connect to server run locally (the first run of the script on the client)connection messages show up in the server' window on the local machinec:\pp \internet\socketspython echo-server py server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' if the server is running remotelythe client connection messages instead appear in the window displaying the ssh (or otherconnection to the remote computerherelearning-python com]python echo-server py server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' server connected by ( ' previewdenied client connections the net effect is that our echo server converses with multiple clientswhether running locally or remotely keep in mindhoweverthat this works for our simple scripts only because the server doesn' take long time to respond to each client' requests--it can get back to the top of the server script' outer while loop in time to process the next incoming client if it could notwe would probably need to change the server to handle each client in parallelor some might be denied connection technicallyclient connections would fail after clients are already waiting for the server' attentionas specified in the server' listen call to prove this to yourselfadd time sleep call somewhere inside the echo server' main loop in example - after socket programming