[Help-gnutls] Can you assign a gnutls_session_t from one variable to another?
brian at brie.com
Sat Aug 16 05:26:21 CEST 2008
Dumb question. Can you assign a gnutls_session_t from one variable to
Say I have the following. What is the implication?
// 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);
More information about the Gnutls-help