[Twisted-Python] Proxy setup OscarDemo

Dave Siracusa davesiracusa at hotmail.com
Thu Nov 11 11:23:10 EST 2004

I added:
class OA(oscar.OscarAuthenticator):
	def connectToBOS(self, server, port):
		c = protocol.ClientCreator(reactor, self.BOSClass, self.username, 
self.cookie, self.aimcon)
		return c.connectTCP(server, int(port))

Where would I introduce the proxy:port?
Sorry I'm newby.


>On Wed, 2004-11-10 at 06:44 -0500, Dave Siracusa wrote:
>>I'm not sure how the proxy is setup -- I'll need to ask.
>>My AIM client only works when I specify a proxy:port in the setup along 

>It sounds like yes, all traffic needs to go through the proxy.  In that
>case, you'll need to override OscarAuthenticator.connectBOS() to connect
>through the proxy.

>       Paul Swartz
>(o_    http://z3p.livejournal.com/
>//\    z3p at twistedmatrix.com
>V_/_   AIM: z3penguin  GPG:5CF0B1C9

Twisted-Python mailing list
Twisted-Python at twistedmatrix.com

More information about the Twisted-Python mailing list