Example #1
0
void UdpMulticastChannel::respond_nack(const NackMessage& nack_msg )
{
    NetworkMessage* msg = outgoing->get_message(NetworkChannel::get_host_name(),nack_msg.message_num());
    for(int i = 0; i < nack_msg.missing_packets_size(); i++)
        this->sender->sync_send(msg->get_packet(nack_msg.missing_packets(i))->SerializeAsString());

}