from twisted.internet.defer import Deferred
from xmlrpclib import loads, dumps
+import socket
USER_AGENT = 'Python/Twisted XMLRPC 0.1'
class XMLRPCClient(HTTPClient):
prot.args = self.args
prot.d = self.d
return prot
+
+ def clientConnectionFailed(self, connector, reason):
+ self.d.errback()
\ No newline at end of file