From spln!extra.newsguy.com!newsp.newsguy.com!not-for-mail Mon May 31 19:07:08 1999
Subject: ** telnet api for linux? **
Date: 28 May 1999 23:46:33 GMT
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970724; i686 Linux 2.0.36]
Xref: spln comp.unix.programmer:55448
OK I've checked for a FAQ for this group but I didn't find any and I've
checked with comp.unix.programmer but I have been unable to find a telnet
api for linux. I am looking for something with GNU distribution or
similar (free). Anyway I had tried just setting up a stream pipe to a
telnet process but I didn't have much luck. Basically I just want to be
able to pass some commands to a telnet session and read the output.
Rather than trying to code a telnet client, I figured it would be less
buggy (and easier) to find an api to do this or interface with
/usr/bin/telnet. Has anyone used one or can someone shed some light on an
algorithm to communicate with a telnet process? BTW the code must
be in C. Thanks in advance.