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
-
type | The type of Connection. This must be one of the DOFConnectionType constants. |
target | The target DOFAddress of the Connection. This should not be NULL. |
- Returns
- A new DOFConnectionConfigBuilder.
- Exceptions
-
NULL | is returned if an invalid parameter was detected or insufficient resources were available to create the DOFConnectionConfigBuilder. |