[#CNode-SetCommonVersion] = xref:CNode.adoc[CNode]::SetCommonVersion :relfileprefix: ../ :mrdocs: Record the greatest protocol version common to us and the peer. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetCommonVersion(int greatest_common_version); ---- == Parameters [cols="1,4"] |=== | Name| Description | *greatest_common_version* | the greatest protocol version shared with the peer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#