Create a connection associated with a connection, including the ability to create a point connection (to a hub).
Point connections require an associated DOFConnection, so this is the only method allowed to create those types of connections. Other types of connections rarely benefit by having an associated DOFConnection.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFConnection_Destroy.
- Parameters
-
self | The Connection. This must not be NULL. |
config | The configuration options of the connection. This should not be NULL. |
- Returns
- The new DOFConnection.
- Exceptions
-
NULL | is returned if a connection could not be created. |