Look under the documentation for BIO_s_mem, an example is given there.
 
char data[] = "Hello World";
 BIO *mem;
 mem = BIO_new_mem_buf(data, -1);
 
Regards,
Prashant.

Nadav Golombick <[EMAIL PROTECTED]> wrote:
Hi,
 
I was wondering if there is a way to set my own memory buffer for the use of BIO_read and BIO_write operations when using BIO_s_mem functions?
My problem is that I don't want the waste of copying from one memory to another.
 
Thanks,

--
Nadav Golombick


Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football

Reply via email to