Build libraries of libwebsockets 3.1 with Visual Studio 2010 on 64-bit Windows 7 (3)

    When the libraries of libwebsockets 3.1 are built, some demo programs are built all together. They are shown as below:

    The purpose of 'libwebsockets-test-server.exe' is to run a Websocket server. How to execute it is introduced as follows:
1. Create the sub-folder 'libwebsockets' below the folder ' C:\Program Files (x86) '.
2. Copy the sub-folder ' C:\Temp\libwebsokets\libwebsockets\build\bin\share' to the path ' C:\Program Files (x86)\libwebsockets '.

 

3. Run the executable file: 'C:\Temp\libwebsokets\libwebsockets\build\bin\Release\libwebsockets-test-server.exe ' .
4. Open the Chrome browser, and visit the website: http://127.0.0.1:7681. The webpage is like the following:

 

 

    The default port is 7681. You can assign another port such as 7511 by using the instruction:
libwebsockets-test-server --port=7511
    You can start a Websocket server over TLS by using '--ssl' argument, such as:
libwebsockets-test-server --port=7681 --ssl

    The SSL/TLS configuration of the current IE 11 browser is:

 

    Open the IE browser, and visit the website https://127.0.0.1:7681. The webpage is like the following:

 

    Continue browsing, the webpage is:

    The website https://127.0.0.1:7681 cannot be opened by Chrome browser even if the configuration item 'TLS 1.3 downgrade hardening ' is set to 'Disabled' in page ' chrome://flags/'. The reason is unknown.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值