Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: telnet to a vendor app hangs

by VSarkiss (Monsignor)
on Sep 15, 2006 at 19:57 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://573240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found