wxSocket 如何使用ssl开发https服务程序
Posted: Tue Nov 21, 2017 9:01 am
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.)。
想写一个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.)。