cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libssh2 and curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Oct 2006 10:04:07 +0200 (CEST)

On Mon, 9 Oct 2006, James Housley wrote:

> Thanks to a patch form Tor Arntsen I have got a good start. My question is
> that I need to use libssh2_sftp_read() and libssh2_sftp_write() instead of
> read() and write() to send data over the network. I don't see how to tell
> the curl system to used these functions. What am I missing?

lib/sendf.c:Curl_read() and Curl_write(). You need to make sure they use the
appropriate read/write functions for reading and writing to the network
socket.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-10