Hi
Somewhat of a newbie...so bear with me.
Trying to telnet or ssh to a device, so I need to find out which port is open (both maybe) in order to system() afterwards...
I would like to do this in C, even tho perl has Net::Telnet::cisco and ::SSH too, but will probably get hammered for this !
Also, how do I send characters to a program spawned by system() ?