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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章