$sock->option_callback(\&optioncb);
$sock->output_record_separator('');
$sock->option_log('option_log');
$sock->dump_log('dump');
$sock->option_accept(Wont => TELOPT_ECHO);
$sock->open($host) or die "Can't connect to $host port $port $!";
$sock->option_callback(\&optioncb);
$sock->output_record_separator('');
$sock->option_log('option_log');
$sock->dump_log('dump');
$sock->option_accept(Wont => TELOPT_ECHO);
$sock->open($host) or die "Can't connect to $host port $port $!";