16 Aug 05:22
Can you assign a gnutls_session_t from one variable to another?
From: Brian Lavender <brian <at> brie.com>
Subject: Can you assign a gnutls_session_t from one variable to another?
Newsgroups: gmane.network.gnutls.general
Date: 2008-08-16 03:26:21 GMT
Subject: Can you assign a gnutls_session_t from one variable to another?
Newsgroups: gmane.network.gnutls.general
Date: 2008-08-16 03:26:21 GMT
Dumb question. Can you assign a gnutls_session_t from one variable to another? Say I have the following. What is the implication? gnutls_session_t a; gnutls_session_t b; // create socket accept sock_fd a = initialize_tls_session (); gnutls_transport_set_ptr (a, (gnutls_transport_ptr_t) sock_fd ); b = a; ret = gnutls_record_recv(b, &bufferIn.data[bufferIn.index], bufferIn.remaining); gnutls_bye (b, GNUTLS_SHUT_WR); gnutls_deinit (b); brian -- -- Brian Lavender http://www.brie.com/brian/
RSS Feed