[Twisted-Python] Using win32eventreactor (newbie alert)

Relatively new twisted user here :-) I'm a little confused about how to use the win32eventreactor in place of the default. The default on W32 platforms doesn't have the ProcessProtocol support implemented yet, but according to the docs the win32eventreactor does. Here's what I need to do: I want to listen on one or more ports for connections; when connections are made, I want to connect these connections with programs designed to handle the connection in question, i.e. if it's telnet I want to connect the session with a login program and proceed from there. I haven't gotten that far yet but from what I've seen so far I *think* I will need to support the ProcessProtocol and tie the telnet to it. I could be wrong on this but I'm trying to think ahead. So back to win32eventreactor; imply using .install() doesn't get me the ability to use the ProcessProtocol. So I tried replacing the default reactor with win32eventreactor completely; I got errors regarding connectTCP when I did this. So I'm stumped for the moment. I'm sure I'm making some very simple mistake somewhere. A gentle shove in the right direction would be greatly appreciated. Oh, and to the twisted team, compliments on the package. It's wonderful.

On Sun, 2 Feb 2003 12:20:51 -0500 "Jeff Grimmett" <grimmtooth@softhome.net> wrote:
So back to win32eventreactor; imply using .install() doesn't get me the ability to use the ProcessProtocol.
Yes it does. Once you've installed it you can "reactor.spawnProcess(...)". -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***

On Sun, Feb 02, 2003 at 12:20:51PM -0500, Jeff Grimmett wrote:
btw, I don't know anything about win32 stuff, but Twisted has an inetd implementation that does exactly this. It'd be cool to have it work on win32 :-) See twisted.runner. -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://twistedmatrix.com/users/radix.twistd/

On Sun, 2 Feb 2003 12:20:51 -0500 "Jeff Grimmett" <grimmtooth@softhome.net> wrote:
So back to win32eventreactor; imply using .install() doesn't get me the ability to use the ProcessProtocol.
Yes it does. Once you've installed it you can "reactor.spawnProcess(...)". -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***

On Sun, Feb 02, 2003 at 12:20:51PM -0500, Jeff Grimmett wrote:
btw, I don't know anything about win32 stuff, but Twisted has an inetd implementation that does exactly this. It'd be cool to have it work on win32 :-) See twisted.runner. -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://twistedmatrix.com/users/radix.twistd/
participants (3)
-
Christopher Armstrong
-
Itamar Shtull-Trauring
-
Jeff Grimmett