OpenDOF Project
boolean DOFServerConfigBuilder_SetMaxConnections ( DOFServerConfigBuilder  self,
uint16  maxConnections 
)

Sets the maximum number of inbound connections in the given DOFServerConfigBuilder.

This prevents the server from accepting inbound connections beyond the specified maximum. Please refer to DOFServerConfigBuilder_Create for the default value for this setting.

Deprecated:
This functionality was replaced by DOFServerConfigBuilder_SetConnectionLimit.
Parameters
selfThe Server Config Builder. If self is NULL, no action will be taken.
maxConnectionsThe maximum number of inbound connections. 0 indicates no maximum (unlimited).
Return values
TRUESuccesfully set.
Exceptions
FALSEFailed to set.
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25