[#SSL_get0_alpn_selected] = SSL_get0_alpn_selected :mrdocs: Return the ALPN protocol selected during the handshake. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_get0_alpn_selected( xref:SSL.adoc[SSL] const* ssl, unsigned char const** data, unsigned int* len); ---- == Return Value the ALPN protocol selected during the handshake. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | SSL connection to query. | *data* | Receives a pointer to the selected protocol name (not NUL‐terminated), or NULL if none. | *len* | Receives the length of the selected protocol in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#