Telnet using IO:Socket module

2003-01-17 Thread pankajwarade
Hi, I am tring to use IO::Socket module in order to execute the commands on remote server. Perl script connects remote server on port 23, and waits for login prompt forever. It recieves non-printable characters instead of login prompt. - #!/usr/bin/perl use IO::Socket; my $sock = ne

Re: Telnet using IO:Socket module

2003-01-17 Thread david
Pankajwarade wrote: > my $sock = new IO::Socket::INET ( > Proto => 'tcp', > PeerAddr=> 10.38.3.3, > PeerPort=> 23, > ) or > > die "

Re: Telnet using IO:Socket module

2003-01-17 Thread kevin reynolds
et;. That might work. http://search.cpan.org/author/RSE/lcwa-1.0.0/lib/io/IO/Socket/INET.pm Kevin From: david <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Telnet using IO:Socket module Date: Fri, 17 Jan 2003 13:54:23 -0800 Pankajwarade wrote: >

Re: Telnet using IO:Socket module

2003-01-18 Thread Tim Musson
Hey david, My MUA believes you used KNode/0.7.1 to write the following on Friday, January 17, 2003 at 4:54:23 PM. d> Telent doesn't use the tcp protocol, it uses TELNET. Telnet does use TCP. In the TCP/IP world, just about everything uses either TCP or UDP (a couple I can think of that

Re: Telnet using IO:Socket module

2003-01-18 Thread Randal L. Schwartz
> "Pankajwarade" == Pankajwarade <[EMAIL PROTECTED]> writes: Pankajwarade> I am tring to use IO::Socket module in order to execute Pankajwarade> the commands on remote server. Perl script connects Pankajwarade> remote server on port 23, and waits for login prompt Pankajwarade> forever. It re