cURL / Mailing Lists / curl-library / Single Mail


Re: c++ libcurl: telnet

From: Julius Morales Reolizo <>
Date: Thu, 29 May 2008 01:10:44 -0700 (PDT)

----- Original Message ----
From: Daniel Stenberg <>
To: libcurl development <>
Sent: Thursday, May 29, 2008 3:28:14 PM
Subject: Re: c++ libcurl: telnet

On Thu, 29 May 2008, Julius Morales Reolizo wrote:

> I can see what the response the telnet gave me... by using
> while(!cin.eof()){...}

Yes, libcurl will send the data to stdout by default.

> (I posted my code last tym)...

tym? I realize that's some kind of reference to a previous mail of yours, but
I don't think "tym" is a universally known and accepted acronym for that...

> The problem is sending the commands. Its been days but I can't put a command
> to stdin and send it to the telnet...

Try something like:

$ echo "commands" | ./yourprog

sorry for the "tym" word... there's something wrong with this keyboard... ^_^
anyways thanks for the help.
Received on 2008-05-29