OpenDOF Project
DOFServerConfigBuilder DOFServerConfigBuilder_Create ( DOFServerType  type,
DOFAddress  listenAddress 
)

Creates a server configuration builder, given the DOFServerType and the listening address.

Resource Management:
This function allocates resources that must later be freed by calling DOFServerConfigBuilder_Destroy or DOFServerConfigBuilder_BuildAndDestroy.

The builder uses the following defaults: -Security Desire: DOFSECURITYDESIRE_ANY -Credentials: none -Domain Credentials: none -Trusted Domains: none -Transport Config: NULL -Connection Limit: The maximum value of uint32 (effectively unlimited) -Protocol Negotiator: DOF_DEFAULT_PROTOCOL_NEGOTIATOR -Maximum Send Silence: DOF_TIMEOUT_NEVER -Maximum Receive Silence: 120,000 ms (2 minutes)

Parameters
typeThe type of Server. This must be one of the DOFServerType constants.
listenAddressThe listening DOFAddress of the Server. This should not be NULL.
Returns
A new DOFServerConfigBuilder.
Exceptions
NULLis returned if a server configuration builder could not be created.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22