OpenDOF Project
boolean DOFServerConfigBuilder_SetConnectionLimit ( DOFServerConfigBuilder  self,
uint32  maxConnections 
)

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

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

Parameters
selfThe Server Config Builder. If self is NULL, no action will be taken.
maxConnectionsThe maximum number of inbound connections. Setting this value to zero creates a server that does not accept inbound connections.
Return values
TRUESuccessfully set.
Exceptions
FALSEFailed to set.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22