Hello everyone,

i am using GNUTLS in a server i am currently writing on. I am planning
to implement a handshaking procedure:

1. Client requests TLS or non-TLS encryption.
2. Server responds if packets are accepted and if TLS is available.
3. Client sends data corresponding to reply from server.

Can i just place the gnutls_handshake() when TLS is available and client
chose to use TLS? Could there be sync problem because gnutls_handshake()
is not the first thing that is done in the socket
connection/conversation?

Please, i need your experience. :)

Thank you!

So long
Lennart



_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to