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

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
fengzhu2007
In need of some credit
In need of some credit
Posts: 5
Joined: Sun Sep 24, 2017 12:56 pm

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

Postby fengzhu2007 » 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.)。

kipade
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Nov 11, 2011 2:45 am
Location: China

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

Postby kipade » Thu Nov 30, 2017 3:33 am

建议使用libcurl,这个库的强大不言而喻
wx的封装是wxCurl
Slackware GNU/Linux
wxWidgets-3.0.3


Return to “wxWidgets Development (Chinese)”

Who is online

Users browsing this forum: No registered users and 2 guests