summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist.ini2
-rw-r--r--lib/Net/Termcast.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/dist.ini b/dist.ini
index da0f347..dda0e4d 100644
--- a/dist.ini
+++ b/dist.ini
@@ -10,5 +10,5 @@ abstract = interface to termcast.org
[Prereq]
Moose = 0.84
MooseX::AttributeHelpers = 0.20
-IO::Socket::Telnet = 0
+IO::Socket::Telnet::HalfDuplex = 0
Term::VT102 = 0
diff --git a/lib/Net/Termcast.pm b/lib/Net/Termcast.pm
index 73bbfca..b2a9690 100644
--- a/lib/Net/Termcast.pm
+++ b/lib/Net/Termcast.pm
@@ -3,7 +3,7 @@ use Moose;
use MooseX::AttributeHelpers;
use Net::Termcast::Session;
-use IO::Socket::Telnet;
+use IO::Socket::Telnet::HalfDuplex;
use Term::VT102;
has host => (
@@ -68,7 +68,7 @@ has _vt => (
has _sock => (
is => 'ro',
- isa => 'IO::Socket::Telnet',
+ isa => 'IO::Socket::Telnet::HalfDuplex',
lazy => 1,
default => sub {
my $self = shift;