#include <nitro/mb.h>BOOL MB_SetParentCommParam( u16 sendSize, u16 maxChildren );| sendSize | Send buffer size (MB) for parent MP communication. This size must be greater than MB_COMM_PARENT_SEND_MIN and less than MB_COMM_PARENT_SEND_MAX. |
| maxChildren | The maximum number of children the MB receives. The maximum is 15 machines. If a number of child devices equal to this or more is configured to be received, calls to the MB_RegisterFile function will fail. The maxPlayerNum of MBGameRegistry is the number of devices, including the parent. Therefore, to set the same number of devices, this value should be smaller by one than the value of MBGameRegistry. |
Returns TRUE if values are set in the correct range. Otherwise, returns FALSE.
Specifies the size of the MB library's send for internally-driven communications, including the maximum number of children. This function can be used to increase the efficiency of the MP communication packets when you already know the maximum number of connected devices.
This function must be called after the MB_Init function and before the MB_StartParent function.
This function is the same as the MB_SetParentCommSize function except it also includes and specifies the maximum number of connected children. Note that this function cannot set the parent receive size.
MB_COMM_PARENT_*
MBUserInfo
MB_Init
MB_SetParentCommSize
MB_StartParent
MB_RegisterFile
2004/11/18 Discontinued the recvSize argument.
2004/10/05 Initial version.
CONFIDENTIAL