Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreidheim <eidheim@gmail.com>2014-08-04 14:56:13 +0400
committereidheim <eidheim@gmail.com>2014-08-04 14:56:13 +0400
commit4195a1b7b5b7f9cad5c233e41c5d23edf59b0757 (patch)
tree8b1b5502824d449542924da8dc1614d15c3e8a84 /README.md
parent47b66b8e6e70c5be610760bfb072eada73a4c9f9 (diff)
Added template for SimpleWeb::Crypto, added crypto_test.cpp
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9a77af2..53a14cc 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ See also https://github.com/eidheim/Simple-Web-Server for an easy way to make RE
* Platform independent
* WebSocket Secure support
* Simple way to add WebSocket endpoints using regex for path, and anonymous functions
-* C++ bindings to the following OpenSSL methods: Base64, MD5, SHA1, SHA256 and SHA512 (found in crypto.hpp and crypto.cpp)
+* C++ bindings to the following OpenSSL methods: Base64, MD5, SHA1, SHA256 and SHA512 (found in crypto.hpp)
###Usage
@@ -30,13 +30,13 @@ Compile with a C++11 compiler supporting regex (for instance g++ 4.9):
#### WS
-g++ -O3 -std=c++11 -lboost_system -lcrypto crypto.cpp main_ws.cpp -o ws_server
+g++ -O3 -std=c++11 -lboost_system -lcrypto main_ws.cpp -o ws_server
Then to run the server: ./ws_server
#### WSS
-g++ -O3 -std=c++11 -lboost_system -lssl -lcrypto crypto.cpp main_wss.cpp -o wss_server
+g++ -O3 -std=c++11 -lboost_system -lssl -lcrypto main_wss.cpp -o wss_server
Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html