"connected bymessage appears in the server ssh window each time the client script is run in the client windowc:\pp \internet\socketspython echo-client py learning-python com client receivedb'echo=>hello network worldc:\pp \internet\socketspython echo-client py learning-python com ni ni ni client receivedb'echo=>niclient receivedb'echo=>niclient receivedb'echo=>nic:\pp \internet\socketspython echo-client py learning-python com shrubbery client receivedb'echo=>shrubberythe ping command can be used to get an ip address for machine' domain nameeither machine name form can be used to connect in the clientc:\pp \internet\socketsping learning-python com pinging learning-python com with bytes of datareply from bytes= time= ms ttl= ctrl- :\pp \internet\socketspython echo-client py brave sir robin client receivedb'echo=>braveclient receivedb'echo=>sirclient receivedb'echo=>robinthis output is perhaps bit understated-- lot is happening under the hood the clientrunning on my windows laptopconnects with and talks to the server program running on linux machine perhaps thousands of miles away it all happens about as fast as when client and server both run on the laptopand it uses the same library callsonly the server name passed to clients differs though simplethis illustrates one of the major advantages of using sockets for crossprogram communicationthey naturally support running the conversing programs on different machineswith little or no change to the scripts themselves in the processsockets make it easy to decouple and distribute parts of system over network when needed socket pragmatics before we move onthere are three practical usage details you should know firstyou can run the client and server like this on any two internet-aware machines where python is installed of courseto run the client and server on different computersyou need both live internet connection and access to another machine on which to run the server this need not be an expensive propositionthoughwhen sockets are openedpython is happy to initiate and use whatever connectivity you havebe it dedicated linewireless routercable modemor dial-up account moreoverif you don' have server network scripting