On Thu, Dec 06, 2001 at 02:24:31PM -0700, Wilkinson, Mike wrote:
> 
> I need to make a program that opens telnet connection on remote machines
> (Net::Telnet for POE.) On the wiki I see there is no
> POE::Component::Client::Telnet yet, but there is mention of a
> POE::Component::Client::Cmd module that might help me here (if I can find
> it.) 
> 
> Is this a good idea or should I just craft my own connections with
> POE::Component::Client:TCP?

i think there are plans for pococl::tcp but no code exists yet. you could
take a look at the poco::server::tcp, which should exist, or write one :)
a new session that is given a postback (or replies to the parent session
directly) when it has got a connection from poe::wheel::socketfactory.
but that is just needed if you want to hide this single wheel and the
success/failure state from your session, which is usually not really useful.

pococl::cmd could be extracted from pococl::ftp, although i hope to find
some time to implement a general (maybe state machine style) approach
to the cmd processing.

a combination of peo::wheel::readwrite and poe::filter line might be enough
if you dont need special telnet escape characters or anything like that.


torvald

Reply via email to