OpenDOF Project
DOFConnectionConfigBuilder DOFConnectionConfigBuilder_Create ( DOFConnectionType  type,
DOFAddress  target 
)

Create a connection configuration builder, given the type and target address.

Resource Management:
This function allocates resources that must later be freed by calling DOFConnectionConfigBuilder_Destroy or DOFConnectionConfigBuilder_BuildAndDestroy. The builder uses the following defaults: -Connection Type: Given by type -Address: Given by address -Security Desire: DOFSECURITYDESIRE_ANY -Credentials: NULL -Domain Credentials: none -Trusted Domains: none -Permissions: NULL -Transport Config: NULL -Protocol Negotiator: DOF_DEFAULT_PROTOCOL_NEGOTIATOR -Bridge: NULL -Receive Filter: NULL -Send Filter: NULL -Stream Listener: NULL -Permission Extend Allowed: TRUE -Max Send Silence: DOF_TIMEOUT_NEVER -Max Receive Silence: 120,000ms (2 minutes)
Parameters
typeThe type of Connection. This must be one of the DOFConnectionType constants.
targetThe target DOFAddress of the Connection. This should not be NULL.
Returns
A new DOFConnectionConfigBuilder.
Exceptions
NULLis returned if an invalid parameter was detected or insufficient resources were available to create the DOFConnectionConfigBuilder.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22