in reply to writing to telnet?
use IO::Socket::INET; use strict; my $socket = new IO::Socket::INET(Proto => "tcp", PeerAddr => "localho +st", PeerPort => 1337); while (1) { print $socket "1234\n"; my $msg = <$socket>; print $msg; sleep(5); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: writing to telnet?
by Anonymous Monk on Mar 09, 2003 at 23:08 UTC | |
by pg (Canon) on Mar 09, 2003 at 23:58 UTC | |
by Anonymous Monk on Mar 10, 2003 at 13:28 UTC |