sample use def add( , )return + server myxmlrpcserver(("", )server register_function(addserver serve_forever(to test thisyou will need to use the xmlrpclib module run the previous server and then start separate python processimport xmlrpclib xmlrpclib serverproxy( add( , to test the rejection of connectionstry the same codebut from different machine on the network for thisyou will need to replace "localhostwith the hostname of the machine that' running the server lib fl ff