qResult SendUnreliableAll( qByte * buffer, qUnsignedInt32 size );
Name | Description | |
---|---|---|
in | buffer |
Pointer to the data being sent. |
in | size |
Size of the data being sent. Set this argument to 1250 or less. |
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. |
Sends data to all stations participating in the session using unreliable communications. (Delivery is not guaranteed.)
Returns a PacketBufferFull
error when the packet buffer does not have enough space. This error indicates that the packet buffer was temporarily insufficient. Increase the buffer as needed. For more information about packet buffer settings, see PacketBufferManager
.
QRESULT_ERROR(Transport, PacketBufferFull)
to the return values.CONFIDENTIAL