[#LookupSubNet]
= LookupSubNet
:mrdocs:

Parse and resolve a specified subnet string into the appropriate internal representation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CSubNet.adoc[CSubNet]
LookupSubNet(std::string const& subnet&lowbar;str);
----

== Return Value

a CSubNet object (that may or may not be valid)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *subnet&lowbar;str* [in]
| A string representation of a subnet of the form `network address &lsqb; &quot;&sol;&quot;, ( CIDR&hyphen;style suffix &verbar; netmask ) &rsqb;` e&period;g&period; &quot;2001&colon;db8&colon;&colon;&sol;32&quot;, &quot;192&period;0&period;2&period;0&sol;255&period;255&period;255&period;0&quot; or &quot;8&period;8&period;8&period;8&quot;&period;
|===


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