[#V2Transport-2constructor-04]
= xref:V2Transport.adoc[V2Transport]::V2Transport
:relfileprefix: ../
:mrdocs:

Construct a V2 transport with securely generated random keys&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
V2Transport(
    xref:NodeId-08.adoc[NodeId] nodeid,
    bool initiating) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nodeid* [in]
| the node&apos;s NodeId (only for debug log output)&period;
| *initiating* [in]
| whether we are the initiator side&period;
|===


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