[#NetEventsInterface-InitializeNode]
= xref:NetEventsInterface.adoc[NetEventsInterface]::InitializeNode
:relfileprefix: ../
:mrdocs:

Initialize a peer (setup state)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
InitializeNode(
    xref:CNode.adoc[CNode] const& node,
    xref:ServiceFlags.adoc[ServiceFlags] our&lowbar;services) = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node* [in]
| the peer being initialized&period;
| *our&lowbar;services* [in]
| the service flags we offer to this peer&period;
|===


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