*BSD News Article 80945


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sprintlink.net!news-peer.sprintlink.net!newsfeed.internetmci.com!btnet!news.grnet.gr!news.ntua.gr!ajax!adamo
From: adamo@ajax.noc.ntua.gr (Yiorgos Adamopoulos)
Newsgroups: comp.unix.programmer,comp.unix.bsd
Subject: Re: source for C callable telnet
Followup-To: comp.unix.programmer,comp.unix.bsd
Date: 17 Oct 1996 07:44:10 GMT
Organization: National Technical University of Athens, Greece
Lines: 10
Message-ID: <544o4a$f2e@ulysses.noc.ntua.gr>
References: <53s3n0$d24@hoho.quake.net>
NNTP-Posting-Host: ajax.noc.ntua.gr
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.programmer:44879 comp.unix.bsd:16840

Ian Kettleborough (ian@idk.com) wrote:
: Looking for C source code that will establish a telnet session, and 
: then let me read and write a line at the time thru the connection.

You might find usefull the socket(1) from somewhere in the comp.unix.sources
archive and the netcat utility by *Hobbit* at ftp://avian.org/

I've used both with great success (netcat's in fact better).

-- Yiorgos Adamopoulos, <Y.Adamopoulos@noc.ntua.gr>