use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/'); $t->open("sms.server.inter.net"); $t->login($username, $passwd); @lines = $t->cmd("sms.pl-msg=$opt{msg} -num=123456789"); print @lines;
In reply to Re: How Can I use a socket like telnet?
by ChOas
in thread How Can I use a socket like telnet?
by locked_user mr_leisure
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |