cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: c++ libcurl: telnet

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

----- Original Message ----
From: Daniel Stenberg <daniel_at_haxx.se>
To: libcurl development <curl-library_at_cool.haxx.se>
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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET