ParsecConfig

Parsec instance configuration.

Passed to ParsecInit and returned by ParsecGetConfig. clientPort and hostPort serve as the first port used when the bind call is made internally. If the port is already in use, the next port will be tried until an open port has been found or 50 attempts have been made.

Fields

TypeNameDescription
int32_tupnp1 enables and maintains UPnP to assist NAT traversal, 0 disables it.
int32_tclientPortFirst port tried for client connections. A value of 0 uses a pseudo random default.
int32_thostPortFirst port used to accept host connections. A value of 0 uses a pseudo random default.