About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 7 years ago
  • Total downloads: 173
  • Price: Free |
  • Operating system: Linux
  • Publisher: Jay Rogers
See full specifications

linux default iconNet::Telnet Publisher's description

Net::Telnet can interact with TELNET port or other TCP ports.

Net::Telnet can interact with TELNET port or other TCP ports.


use Net::Telnet ();
see METHODS section below

Net::Telnet allows you to make client connections to a TCP port and do network I/O, especially to a port using the TELNET protocol. Simple I/O methods such as print, get, and getline are provided. More sophisticated interactive features are provided because connecting to a TELNET port ultimately means communicating with a program designed for human interaction. These interactive features include the ability to specify a time-out and to wait for patterns to appear in the input stream, such as the prompt from a shell.

Other reasons to use this module than strictly with a TELNET port are:
You're not familiar with sockets and you want a simple way to make client connections to TCP services.

You want to be able to specify your own time-out while connecting, reading, or writing.

You're communicating with an interactive program at the other end of some socket or pipe and you want to wait for certain patterns to appear.
Here's an example that prints who's logged-on to the remote host sparky. In addition to a username and password, you must also know the user's shell prompt, which for this example is bash$

use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10,
Prompt => '/bash$ $/');
$t->login($username, $passwd);
@lines = $t->cmd("who");
print @lines;

System Requirements:

В· Perl
Program Release Status:
Program Install Support: Install And Uninstall

Is Net::Telnet your software?

Manage your software

Most Popular

linux default icon A2Billing 1.6.0
A2Billing is a billing system interactive with Asterisk to give any Telecom company traditional offering VOIP... Read more
linux default icon FrontAccounting 2.3.10
FrontAccounting is free and released under the GNU General Public License.
linux default icon PgAdmin III for Linux 1.14.1
pgAdmin is the most popular and feature rich Open Source administration and development platform for... Read more
linux default icon RazorSQL for Linux 5.6.3
RazorSQL is an SQL query tool, database browser, SQL editor,....
linux default icon Salat Book 1.00
Salat / Namaz prayer database and tracking application