nn::nex::DirectStream::GetPendingReliableBufferNum Member Function

Syntax

qInt32 GetPendingReliableBufferNum(
     StationID id,
     SubStreamID subStreamID = SubStreamIDDefine::SYSTEM
);

Parameters

Name Description
in id Specifies the StationIDs of the stations from which you get the number of pending reliable communications.
in subStreamID Specifies the ID during use of multiple reliables. SubStreamIDDefine::SYSTEM is specified if omitted, and is shared with the system.

Return Values

Returns the number of pending reliable communications for the Station with the specified StationID. Returns -1 for the local station, disconnected stations, non-existent Stations or non-existent SubStreamIDs.

Description

Gets the number of pending reliable communications for the station addresses specified by StationID. The value that is obtained includes reliable communication packets that are used internally in NEX, in addition to unreliable communication packets that are used for direct streams.

See Also

SubStreamIDDefine, StreamSettings::SetMaxUserReliableSubStreams

Revision History

2012/10/04
Changed the parameter type from ConnectionID to StationID.
2012/07/11
Initial version.

CONFIDENTIAL