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

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

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

Post 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.)。
kipade
Earned some good credits
Earned some good credits
Posts: 126
Joined: Fri Nov 11, 2011 2:45 am
Location: China

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

Post by kipade »

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