Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: telnet to a vendor app hangs

by VSarkiss (Monsignor)
on Sep 15, 2006 at 19:57 UTC ( #573240=note: print w/ replies, xml ) Need Help??


in reply to telnet to a vendor app hangs

I haven't tried it personally, but I'd recommend starting with Net::Telnet rather than writing your own socket-level interface. According to the docs, you can specify a timeout, so it may be just the ticket.


Comment on Re: telnet to a vendor app hangs
Re^2: telnet to a vendor app hangs
by iang (Sexton) on Sep 15, 2006 at 20:22 UTC
    Unbeliveable.... How simple was that. Thanks very much!
      So you have discovered one of the unwritten rules, if at first you don't succeed, it is likely because you didn't spend enough time at CPAN yet!

      jdtoronto

Re^2: telnet to a vendor app hangs
by fmerges (Chaplain) on Sep 16, 2006 at 11:31 UTC

    Hi,

    Update: this should be a reply to VSarkiss and his/her recommendation to use Net::Telnet

    In fact, I use it, to connect to some low level hardware via telnet, and without any problem, just works.

    The disconnecting problem could be solved by keeping alive the connection. Some people, set an inactivity timeout, when reached, disconnects the client.

    Regards,

    fmerges at irc.freenode.net

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-12-20 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls