Jacob-Burckhardt
Jacob-Burckhardt
Is your client code inside a handler? If so, this might help: https://docs.websocketpp.org/md_tutorials_utility_client_utility_client.html says: > In the case of applications that call send from inside a handler this means that...
> Is there a reason there's no us_socket_remote_port I added it in [PR](https://github.com/uNetworking/uSockets/pull/210).
> how can I load a certificate bundle (windows or linux) for the TLS connection? What API foo am I looking for? Call set_default_verify_paths. [Here's](https://github.com/zaphoyd/websocketpp/issues/1049) an example. > Also, is...
Add a hostname argument as the first arg in your on_tls_init function. Extract the hostname from the URL that you pass to m_client.get_connection. Pass that hostname here: `m_client.set_tls_init_handler (bind (&on_tls_init,...
In the code excerpt below, create_connection calls on_tls_init which occurs before the set_uri call in the excerpt below which explains why get_uri returned null during the call to on_tls_init. That...
https://docs.websocketpp.org/md_tutorials_utility_client_utility_client.html says: ``` Enter Command: connect ws://echo.websocket.org > Created connection with id 0 ``` Try running that tutorial. I think it will default to IPv4. If not then replace the...
Below, the library author seems to discourage using the library in the way you describe but he does describe a method: https://github.com/zaphoyd/websocketpp/issues/683#issuecomment-345886039 says: > ... The only alternative to this...
https://datatracker.ietf.org/doc/html/rfc6455#section-5.2 says: > * %x8 denotes a connection close I suggest you run Wireshark on the server's host and see if it receives that code when the client disconnects. If...
### Give library time to write. https://docs.websocketpp.org/md_tutorials_utility_client_utility_client.html says: > In the case of applications that call send from inside a handler this means that no messages will be written to...
It does support wss sockets as shown by this [quote](https://github.com/zaphoyd/websocketpp): > Supports secure WebSockets