cURL / Mailing Lists / curl-library / Single Mail


Re: c++ libcurl: telnet

From: Dan Fandrich <>
Date: Tue, 3 Jun 2008 22:02:10 -0700

On Tue, Jun 03, 2008 at 09:40:23PM -0700, Julius Morales Reolizo wrote:
> I wish I could see a code for that it is like
> I really dont get if you really need to bind stdin to another pipe or something.

That code shows you pretty well what you need to do.

> Btw, my last line problem in libcurl... I tried putting the revised copy of libcurl... which is telnet.c posted
> but the last line problem still exists or the new code is not addressing my last line problem...
> sorry if im requesting something... I really dont understand the code... telnet_do()...
> rewriting it to catch the simple bug... Its like impossible to me right now
> Thanks for reading... and more power...

Are you making sure to set your stdin/stdout to unbuffered? i.e. the
equivalent of curl's --no-buffer option?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-04