SetGroupID

nn::cec::CTR::Message::SetGroupID Member Function

Syntax

nn::Result SetGroupID(
     u32 groupId
);

Parameters

Name Description
in groupId Group ID

Return Values

nn::Result

Value Description
Result::IsSuccess Process succeeded.
A value other than the above. Process failed.

Description

Sets the Group ID for a Message. Messages in the outbox with the same GroupID are grouped and sent together.

* Anything in excess of the maximum size for a single send will not be grouped.
* When 0 is specified, nothing will be grouped, and items will be sent individually.

* You can combine this with a MessageTypeFlag to send different data depending on the communication peer.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL