ParseNetwork

Parse a network name into its Network enumerator.

Synopsis

Declared in <netbase.h>

Network
ParseNetwork(std::string const& net);

Return Value

The matching Network enumerator, or NET_UNROUTABLE if unrecognized.

Parameters

NameDescription
netThe network name to parse.