Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: c++ libcurl: telnet

From: Gary Maxwell <>
Date: Wed, 28 May 2008 12:04:16 -0700

Julius Morales Reolizo wrote:
> Gary Maxwell wrote:
> Feel free to post your application code, then we might be able to
> better assistance.
> [App code snipped]

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

Can you confirm what your libcurl build environment is, please?

Received on 2008-05-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET