================= idMsgChannel::SendReliableMessage ================= */
| 669 | ================= |
| 670 | */ |
| 671 | bool idMsgChannel::SendReliableMessage( const idBitMsg &msg ) { |
| 672 | bool result; |
| 673 | |
| 674 | assert( remoteAddress.type != NA_BAD ); |
| 675 | if ( remoteAddress.type == NA_BAD ) { |
| 676 | return false; |
| 677 | } |
| 678 | result = reliableSend.Add( msg.GetData(), msg.GetSize() ); |
| 679 | if ( !result ) { |
| 680 | common->Warning( "idMsgChannel::SendReliableMessage: overflowed" ); |
| 681 | return false; |
| 682 | } |
| 683 | return result; |
| 684 | } |
| 685 | |
| 686 | /* |
| 687 | ================= |
no test coverage detected