cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: c++ libcurl: telnet

From: Julius Morales Reolizo <myst_frozenshadow_at_yahoo.com>
Date: Sun, 25 May 2008 20:50:56 -0700 (PDT)

Thanks, I got it now... but a have a little bit of a problem... why does the libcurl in telnet do not show the last line in stdin...

How can I send a command in telnet... thanks anyways

----- Original Message ----
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-library_at_cool.haxx.se
Sent: Friday, May 23, 2008 6:35:54 AM
Subject: Re: c++ libcurl: telnet

On Thu, May 22, 2008 at 02:04:58PM -0700, Julius Morales Reolizo wrote:
> a simple code for telnet. I tried to tweak a code using http to produce a function for telnet. sorry for my misuse of words... Thanks again...

telnet is handled a bit differently in libcurl compared to the other
protocols. Rather than using a callback, telnet reads data from the stdin
stream. If you keep that in mind, you should be able to modify one of
the existing example programs without much trouble.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
      
Received on 2008-05-26