Pankajwarade wrote:

> my $sock = new IO::Socket::INET (
>                                         Proto       => 'tcp',
>                                         PeerAddr    => 10.38.3.3,
>                                         PeerPort    => 23,
>                                 ) or
> 
> die "Could not create socket: $!\n" unless $sock;

[snip]

> I userstand, I can use Net::Telnet module also for the same.But, tring to
> make it work with IO:Socket.
> 
> Any input on this will really be appreciated.
> 

you are trying to connect 10.38.3.3 using port 23 which the server is 
probably listening for Telnet connection. Telent doesn't use the tcp 
protocol, it uses TELNET.

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to