curl-library
Re: c++ libcurl: telnet
From: Julius Morales Reolizo <myst_frozenshadow_at_yahoo.com>
Date: Wed, 28 May 2008 15:20:17 -0700 (PDT)
Date: Wed, 28 May 2008 15:20:17 -0700 (PDT)
Gary Maxwell wrote:
Okay, my previous guesswork was totally wrong. I also neglected to ask
which platform you are running on, whether you are using WinSock or not.
The behavior you are seeing is reproducible when libcurl is built
against WinSock/Win32. This is because inside telnet_do(), the read from
stdin is performed with the Win32 ReadFile() function, which blocks.
This prevents the display of incoming data from the server until the
ReadFile() completes, because telnet_do() handles both input and output
streams.
Can you confirm what your libcurl build environment is, please?
-Gary
I'm working on linux based system.
Thanks for the time.
Received on 2008-05-29