reverseame / secure_socket Goto Github PK
View Code? Open in Web Editor NEWC++ Sockets implementing hybrid encryption
C++ Sockets implementing hybrid encryption
hi,
thanks for crypto++ project and Secure Socket, firstly.
i am able to compile crypto++ with pem module under VS2019 (i am using git variants and compiled both like release x86 and x64).
and i want to compile example codes in this repository but not succeed. here are some details:
tried to compile "client.cpp" with settings like release x64 and output from VS2019:
Build started...
1>------ Build started: Project: client64, Configuration: Release x64 ------
1>client64.cpp
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(141,17): error C3646: 'secure_send': unknown override specifier
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(141,28): error C2059: syntax error: '('
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(141,78): error C2238: unexpected token(s) preceding ';'
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(159,17): error C3646: 'secure_recv': unknown override specifier
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(159,28): error C2059: syntax error: '('
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(159,78): error C2238: unexpected token(s) preceding ';'
1>C:\Users\ahertery\source\repos\client64\client64\client64.cpp(25,34): error C2039: 'secure_recv': is not a member of 'Secure_Socket'
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(94): message : see declaration of 'Secure_Socket'
1>C:\Users\ahertery\source\repos\client64\client64\client64.cpp(29,53): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>C:\Users\ahertery\source\repos\client64\client64\client64.cpp(30,13): error C2039: 'secure_send': is not a member of 'Secure_Socket'
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(94): message : see declaration of 'Secure_Socket'
1>C:\Users\ahertery\source\repos\client64\client64\client64.cpp(32,30): error C2039: 'secure_recv': is not a member of 'Secure_Socket'
1>C:\Users\ahertery\Desktop\Secure_Socket\src\Secure_Socket.hpp(94): message : see declaration of 'Secure_Socket'
1>Done building project "client64.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i also tried with settings release x86 and the results are the same.
PS: i am also new with programming and VS2019 so maybe i am doing something wrong.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.