[#SSL_get_handshake_rtt]
= SSL&lowbar;get&lowbar;handshake&lowbar;rtt
:mrdocs:

Return the measured TLS handshake round&hyphen;trip time in microseconds when available&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;get&lowbar;handshake&lowbar;rtt(
    xref:SSL.adoc[SSL] const* s,
    uint64&lowbar;t* rtt);
----

== Return Value

1 if an RTT measurement is available, or 0 &sol; a negative value otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection to query&period;
| *rtt*
| Receives the RTT in microseconds&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
