| 634 | */ |
| 635 | #define HEADER_RATE_BYTES 48 // include our header, IP header, and some overhead |
| 636 | void SV_SendMessageToClient( msg_t *msg, client_t *client ) { |
| 637 | // record information about the message |
| 638 | client->frames[client->netchan.outgoingSequence & PACKET_MASK].messageSize = msg->cursize; |
| 639 | client->frames[client->netchan.outgoingSequence & PACKET_MASK].messageSent = sv.time; |
| 640 | |
| 641 | // send the datagram |
| 642 | Netchan_Transmit( &client->netchan, msg->cursize, msg->data ); |
| 643 | } |
| 644 | |
| 645 | /* |
| 646 | ======================= |
no test coverage detected