Hello! I'm not really aware of polarssl APIs, but I did it a couple of times with OpenSSL. There are two approaches:
1) Use something like `ssl_set_bio` and `uv_poll_t` 2) Use normal `uv_read_start()` and write/read data to polarssl yourself Cheers, Fedor. On Tue, Jan 28, 2014 at 3:34 PM, Fish Zheng <[email protected]> wrote: > Hi, libuver, > > How can I integrate the libuv with polarssl for one ssl connection? > libuv has its own uv_tcp_t handle, and this handle should be binded with > polarssl ssl_context. > > The polarssl has some API about how to set the socket handle -- > server_fd as below: > ssl_set_bio ( & ssl, net_recv, & server_fd, net_send, & server_fd ); > > How can I do it? > > Thanks. > > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/groups/opt_out.
