nn::nex::DirectTransport::SendReliableAll Member Function

Syntax

qResult SendReliableAll(
     qByte * buffer,
     qUnsignedInt32 size
);

Parameters

Name Description
in buffer Pointer to the data being sent.
in size Size of the data being sent.

Return Values



Value Description
QRESULT_SUCCESS Sending succeeded.
QRESULT_ERROR(Transport, Unknown) The PRUDPUserProtocol::GetInstance function is NULL.
QRESULT_ERROR(Transport, ConnectionFailure) Data was not sent successfully to any stations.
QRESULT_ERROR(Transport, PacketBufferFull) Data cannot be sent because of packet buffer depletion.

Description

Sends data to all stations participating in the session using reliable communications. (Delivery is guaranteed.)

Returns a PacketBufferFull error when the packet buffer does not have enough space. This error indicates that the packet buffer was temporarily insufficient. Dispatch the data and wait briefly before trying to send the data again. If PacketBufferFull occurs at a high frequency, take measures to increase the packet buffer. For more information about packet buffer settings, see PacketBufferManager.

Revision History

2012/12/11
Added QRESULT_ERROR(Transport, PacketBufferFull) to the return values.
2012/01/26
Initial version.

CONFIDENTIAL