xmlrpclib.Server - how to disconnect

Discussion in 'Python' started by codecraig, Apr 22, 2005.

  1. codecraig

    codecraig Guest

    Hi,
    If I create a connection to a and XML-RPC server, how can the client
    disconnect from the server?

    CLIENT:
    url = "http://1.1.1.1:1234"
    server = xmlrpclib.Server(url)

    server.doSomething()

    now how do i disconnect my client from the server?

    thanks
    codecraig, Apr 22, 2005
    #1
    1. Advertising

  2. codecraig

    Kent Johnson Guest

    codecraig wrote:
    > Hi,
    > If I create a connection to a and XML-RPC server, how can the client
    > disconnect from the server?
    >
    > CLIENT:
    > url = "http://1.1.1.1:1234"
    > server = xmlrpclib.Server(url)
    >
    > server.doSomething()
    >
    > now how do i disconnect my client from the server?


    Are you sure this is a problem? xmlrpc uses HTTP/1.0 to connect. Looking at the code it seems to
    close the connection after each request.

    Kent
    Kent Johnson, Apr 22, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ad
    Replies:
    0
    Views:
    492
  2. dcrespo
    Replies:
    0
    Views:
    316
    dcrespo
    Oct 25, 2005
  3. Johann C. Rocholl

    XML-RPC server with xmlrpclib and mod_python

    Johann C. Rocholl, Jun 1, 2006, in forum: Python
    Replies:
    0
    Views:
    491
    Johann C. Rocholl
    Jun 1, 2006
  4. Replies:
    1
    Views:
    271
    Trevor Hennion
    Feb 2, 2008
  5. John P. Crackett
    Replies:
    0
    Views:
    199
    John P. Crackett
    Oct 9, 2011
Loading...

Share This Page