DOFServercreateConnection Method OpenDOF Object Access Library
Create one of the following connections related to this server.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFConnection createConnection(
	DOFConnectionConfig config
)

Parameters

config
Type: org.opendof.core.oalDOFConnectionConfig
The configuration options of the connection. Must not be null.

Return Value

Type: DOFConnection
The new DOFConnection.
Remarks

Create one of the following connections related to this server. Anything else will fail.
  1. Unsecure multicast group (see Type.DATAGRAM ).
  2. Secure multicast group (see Type.GROUP ).
  3. Secure unicast group (see Type.HUB ). For creating a Type.POINT , see DOFConnection.createConnection(Config) .
See the respective type for instructions to properly create those connection types.
See Also

Reference

Type.DATAGRAM_STATELESS
Type.GROUP
Type.HUB