我开发了将消息发送到服务器的IOCP客户端应用程序。现在我想在其中添加SSL支持,以便使用OpenSSL连接启用了SSL的服务器应用程序。 我使用 /* Load encryption & hashing algorithms for the SSL program */
SSL_library_init();
/* Load the error strings for SSL & CRYP
我正在从Visual Studio 2013更新到Visual Studio 2015,并注意到这种行为差异。 #include <stdexcept>
#include <WinSock2.h>
#include <ws2tcpip.h>
int main()
{
WORD version = MAKEWORD(2, 2);
WSADATA wsaData;