# MB_SetParentCommSize

## Syntax

  `#include <nitro/mb.h>`
  `BOOL MB_SetParentCommSize( u16 sendSize );`

## Arguments

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`.

## Return Values

Returns `TRUE` if values are set in the correct range. Otherwise, returns `FALSE`.

## Description

Specifies the size of the MB library's send for internally driven communication, 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_SetParentCommParam` function except it preserves the currently set maximum number of connected children. Note that you cannot use this function to change the parent receive size.

## See Also

`MB_COMM_PARENT_*
MBUserInfo
MB_Init
MB_SetParentCommParam
MB_StartParent
MB_RegisterFile`

## Revision History

2004/11/18 Discontinued the `recvSize` argument.
2004/10/05 Initial version.

CONFIDENTIAL