OpenDOF Project
DOFConnection DOFServer_CreateConnection ( DOFServer  self,
DOFConnectionConfig  config 
)

Creates a connection associated with a server, including the ability to join multicast groups.

Multicast groups require an associated DOFServer, so this is the only method allowed to create those types of connections. Other types of connections may benefit by having an associated DOFServer, as they may share the server's resources to send/receive data.

Resource Management:
This function allocates resources that must later be freed by calling DOFConnection_Destroy.
Parameters
selfThe server. This parameter must not be NULL.
configThe configuration options of the connection. This should not be NULL.
Returns
The new DOFConnection, or NULL if one could not be created.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22