[Twisted-Python] twisted.protcols.toc
![](https://secure.gravatar.com/avatar/95d519fa9e82394fa3fb60ca8775060e.jpg?s=120&d=mm&r=g)
I've been talking about this in #python for a while, and I finally got around to doing it. It works as a TOC server, but only implements IM and the buddy list right now. It doesn't authenticate to the big AIM server, but there is a function (TOC.authenticate()) that gets called to check if the user can log in with the username and password given. No client in the file yet, I'm going to finish all the server options first, and then do the client. URL: http://www.z3p.f2s.com/download/code/twisted/toc.py Drop it in twisted/protocols, and creating mktocserver was easy, just stole it from mkircserver. -z --------------------- (o_ z3p@z3p.org //\ www.z3p.org V_/_ "All animals are equal, but some are more equal than others." - Animal Farm, George Orwell
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Sat, 14 Jul 2001, z3p wrote:
Wow, this is pretty cool! I'm not too familiar with TOC; is it a distributed protocol, where you can actually have TOC subservers authenticating with the main TOC server? I'm not sure I've got a use for this program yet, but it's fun to know we have it :) ______ __ __ _____ _ _ | ____ | \_/ |_____] |_____| |_____| |_____ | | | | @ t w i s t e d m a t r i x . c o m http://twistedmatrix.com/users/glyph
![](https://secure.gravatar.com/avatar/95d519fa9e82394fa3fb60ca8775060e.jpg?s=120&d=mm&r=g)
On Mon, Jul 16, 2001 at 04:18:43PM -0500, Glyph Lefkowitz wrote:
To the best of my knowledge, the main TOC server doesn't do this. However, I'm fairly sure that the twisted version could be made to.
I'm not sure I've got a use for this program yet, but it's fun to know we have it :)
Also, a newer version is online (http://www.z3p.f2s.com/download/code/twisted/toc.py) along with a unittest for it (http://www.z3p.f2s.com/download/code/twisted/test_toc.py). I'll probably get around to starting the client later tonight or tommorow. -p -- (o_ http://www.z3p.f2s.com/ //\ z3p@mailandnews.com U_/_ AIM: z3penguin GPG print: 353A 4103 FFDD A6A2 85CE 06D5 6F48 D823 BDD9 A668 Key ID: 0xBDD9A668
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Sat, 14 Jul 2001, z3p wrote:
Wow, this is pretty cool! I'm not too familiar with TOC; is it a distributed protocol, where you can actually have TOC subservers authenticating with the main TOC server? I'm not sure I've got a use for this program yet, but it's fun to know we have it :) ______ __ __ _____ _ _ | ____ | \_/ |_____] |_____| |_____| |_____ | | | | @ t w i s t e d m a t r i x . c o m http://twistedmatrix.com/users/glyph
![](https://secure.gravatar.com/avatar/95d519fa9e82394fa3fb60ca8775060e.jpg?s=120&d=mm&r=g)
On Mon, Jul 16, 2001 at 04:18:43PM -0500, Glyph Lefkowitz wrote:
To the best of my knowledge, the main TOC server doesn't do this. However, I'm fairly sure that the twisted version could be made to.
I'm not sure I've got a use for this program yet, but it's fun to know we have it :)
Also, a newer version is online (http://www.z3p.f2s.com/download/code/twisted/toc.py) along with a unittest for it (http://www.z3p.f2s.com/download/code/twisted/test_toc.py). I'll probably get around to starting the client later tonight or tommorow. -p -- (o_ http://www.z3p.f2s.com/ //\ z3p@mailandnews.com U_/_ AIM: z3penguin GPG print: 353A 4103 FFDD A6A2 85CE 06D5 6F48 D823 BDD9 A668 Key ID: 0xBDD9A668
participants (3)
-
Glyph Lefkowitz
-
z3p
-
z3p