Re: Gio::SocketConnection to Gio::TlsClientConnection
- From: mohgtkmm dadygtkmm <mohgtkmm gmail com>
- To: Markus Kolb <markus kolb+gtkmm tower-net de>
- Cc: gtkmm Mailinglist <gtkmm-list gnome org>
- Subject: Re: Gio::SocketConnection to Gio::TlsClientConnection
- Date: Sat, 7 Feb 2015 00:39:45 +0100
Hi
might the following help you:
https://developer.gnome.org/glibmm/stable/classGio_1_1TlsClientConnection.html
Good luck!
On 2/6/15, Markus Kolb <markus kolb+gtkmm tower-net de> wrote:
Hello everybody,
is it possible to make a SocketConnection become a TlsClientConnection?
I'm using Gio::SocketClient and if I enable tls before connect-call it
will do the handshake during the connect-call. I think there is no way
to break this.
This is coded here:
https://git.gnome.org/browse/glib/tree/gio/gsocketclient.c#n1132
The Giomm is only wrapping this.
But if I could start with the SocketConnection/TcpConnection and wrap
this after the connect in a TlsClientConnection, I could call the
handshake() myself.
Is there a C++-way to do this?
br,
Markus
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]