RE: telnet and libcurl
Date: Thu, 24 Jun 2004 21:05:50 +0200 (CEST)
On Wed, 23 Jun 2004, Moore, Christie wrote:
>> I understand that you can use standard input and output with telnet in
>> libcurl. I also wanted to know if the READFUNCTION could be used to send
>> data to the telnet connection from a streambuf not a file or command line
>> but stored memory in the program. After the writeCallBack function is
>> called, I can still from the standard input put in the user name and
>> password. I want to assign a char* and send it within program. Is that
No, the telnet support is very crude. The read callback is not possible to use
with telnet, you can only pass data on stdin which of course is pretty hostile
considering this is a library.
I'm open for all patches that improve this situation.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-06-24