init Network
suspend fun initNetwork(defaultPortForwardingEnabled: Boolean, defaultLocalDiscoveryEnabled: Boolean)
Initializes the network according to the stored config. If no config exists, falls back to the given parameters.
Parameters
default Port Forwarding Enabled
whether Port Forwarding/UPnP should be enabled by default.
default Local Discovery Enabled
whether Local Discovery should be enabled by default.