#!./perl -w
BEGIN {
chdir 't' if -d 't';
}
if (!eval "require Socket") {
print "1..0 # no Socket\n"; exit 0;
}
print "1..0 # EBCDIC but no Convert::EBCDIC\n"; exit 0;
}
}
require $libnet_t;
print "1..12\n";
# cannot use(), otherwise it will use IO::Socket and IO::Select
# force the socket to fail
# if socket is created with protocol UDP (default), it will send a newline
# now try it with a custom timeout and a different protocol
# inet_daytime
# check for correct args (daytime, 13)
# magic numbers defined in Net::Time
(4 * 31536000) : (70 * 31536000 + 17 * 86400);
# check for correct args (time, 13)
# pretend it is only six seconds since the offset, create a fake message
# inet_time
'inet_time() should calculate time since offset for time()' );
my %fail;
}
new => 0,
'send' => 0,
};
my $class = shift;
}
sub send {
my $self = shift;
}
my $msg;
sub set_message {
$_[0]->{msg} = $_[1];
} else {
$msg = shift;
}
}
sub do_recv {
}
sub recv {
}
1;
}
sub new {
my $class = shift;
}
sub can_read {
1;
}
1;