Page 1 of 1

wxSocket 如何使用ssl开发https服务程序

Posted: Tue Nov 21, 2017 9:01 am
by fengzhu2007
wxWidgets中的wxSocketBase 可以使用ssl吗?
想写一个https服务程序。
看了别人的例子,是直接对本地的socket描述符操作的。
虽然wxWidgets 可以获取本地socket描述符(wxSocketBase::GetSocket ),但是文档上说不要用它来进行读写数据(Do not use this for reading or writing data from or to the socket as this would almost surely interfere with wxSocket code logic and result in unexpected behaviour.)。

Re: wxSocket 如何使用ssl开发https服务程序

Posted: Thu Nov 30, 2017 3:33 am
by kipade
建议使用libcurl,这个库的强大不言而喻
wx的封装是wxCurl