Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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.

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!


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


    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.


    fmerges at

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2023-05-30 16:41 GMT
Find Nodes?
    Voting Booth?

    No recent polls found