Automatically detect TLS/SSL during handshake.
Use MSG_PEEK flag on recv to detect whether we are getting a flash policy request, an SSL/TLS header, or a plain socket connection.
Showing
Please
register
or
sign in
to comment
Use MSG_PEEK flag on recv to detect whether we are getting a flash policy request, an SSL/TLS header, or a plain socket connection.