socket-cpp icon indicating copy to clipboard operation
socket-cpp copied to clipboard

Simple socket wrapper in C++ (with SSL/TLS support)

Results 11 socket-cpp issues
Sort by recently updated
recently updated
newest added

int timeout = 300ms; m_pTCPClient->Connect("127.0.0.1", "669", timeout); Is it consider add this parameter? thanks.

Reducing the differences between the code for Linux and Windows (yes that's possible). Removing commented code.

enhancement

First, thanks for this project. Quite useful. One issue I've noticed so far: If the connection gets disconnected for some reason just before a `CTCPServer::Send` call, then `Send` will result...

Really nice library, it would be even greater if its possible to easily install it via [_vcpkg_](https://github.com/microsoft/vcpkg)

When using the secure tcp client, I'm able to connected, send and receive messages from the server. But I found out that the client doesn't verify that the server certificate...

What the user must provide to the client and to the server (cert, key file,...) to ensure that the communication is really secure (not only encrypted) ? Is is correctly...

question

That would be great to add UDP classes.

enhancement

ASecureSocket::OpenSSLProtocol is used in ASecureSocket::SetUpCtxClient and ASecureSocket::SetUpCtxServer for defining the correct socket method. As now all client and server methods besides "TLS_client_method()" and "TLS_server_method()" are deprecated, ASecureSocket::OpenSSLProtocol should be revised....

How would one achieve mutual authentication with this library? The goal is to be able to have server be able to authentication client as well as visa versa. If you...