Gossamer Forum
Home : General : Perl Programming :

socket - router

Quote Reply
socket - router
Hi,
I need to make a socket connection with a router. I can make the connection (port 23) and can read some output with:
while(<$socket>){print $_;}
But I don't get all the output. For example, I can't see the promt of the router...
When I use @reply = @socket->getlines(); I get nothing at all.
There is also a read statement but I'm not sure about the sintax on that one...
I know you can use Net::Telnet:Cisco for this but that doesn't seem to work because the router I need to connect to is behind another one and has to be accesed through reverse telnet.. (I think)
Also, my boss really wants to see sockets...
Any ideas??
Subject Author Views Date
Thread socket - router karib 3309 Mar 27, 2003, 3:26 AM
Thread Re: [karib] socket - router
Paul 3214 Mar 27, 2003, 3:38 AM
Post Re: [Paul] socket - router
karib 3208 Mar 27, 2003, 3:56 AM