[#CNode-GetCommonVersion]
= xref:CNode.adoc[CNode]::GetCommonVersion
:relfileprefix: ../
:mrdocs:

Return the greatest protocol version common to us and the peer&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
GetCommonVersion() const;
----

== Return Value

the greatest protocol version shared with the peer&period;


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