how to popen telnet ???

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Sat Dec 1 05:22:10 AEST 1990


In article <1990Nov30.033708 at dali.gatech.edu> mike at penguin.gatech.edu (Mike Gourlay) writes:
>Hi.
>
>	I want to use telnet from another program, but it seems that telnet
>does not use stdin.  How do you get telnet to take input from stdin, especially
>when using popen?

I have a telnet package that opens sockets and impliments a sort
of "byte stream" read and write capability.  It lets you send
strings and read lines, read until delimiter, read with timeout, etc.

Want it?
 
----------------------------------------------------------------------------
Warren Tucker                     emory!n4hgf!wht or wht at n4hgf.Mt-Park.GA.US
"I was 35 years old before I knew a pie was meant to be eaten." - Moe Howard



More information about the Comp.unix.questions mailing list