cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Libcurl Telnet

From: SM <nntp_at_iname.com>
Date: Wed, 13 Jun 2001 10:35:33 +0400

Hi Daniel,
At 23:44 12-06-2001 +0200, Daniel Stenberg wrote:
>I'm not against re-arranging the code to get things working, but I don't see
>how introducing a callback in this case will make things work properly.

I was thinking about how libcurl could be used to automate a Telnet session.

>The current code select() on a socket and stdin. How would the library parts
>know when to get user input? Would we need to check for that periodically?

I forgot that there was also a select for reading stdin! We would need to
have a mechanism for checking the input periodically. I have to take a
look at the code again and see what can be done.

Regards,
-sm
Received on 2001-06-13