Displaying 1 result from an estimated 1 matches for "m_data_size".
Did you mean:
data_size
2006 Jan 19
0
re: want to know, how much data will be extracted from every single packet; solved but some issues
...cur <= 0 ) ?
? ? ? ?m_packets_real_lengths[cur_packet_num] = 0;
? ? ? else
? ? ? {
? ? ? ?if (prev == 0 )
? ? ? ? prev = cur;
? ? ? if (cur_packet_num > 3 && cur_packet_num < m_packets_number - 1)
? ? ? {
? ? ? ? m_packets_real_lengths[cur_packet_num] = cur + prev;
? ? ? ? m_data_size += m_packets_real_lengths[cur_packet_num];
? ? ? }
? ? ? else
? ? ? ? m_packets_real_lengths[cur_packet_num] = 0;
? ? ? ?prev = cur;
? ?}
But not so easy. We must begin loop where cur_packet_num > 3 and cur_packet_num < m_packets_number - 1, because:
- first (aux) after 3 info packets (...