why IKCP_OVERHEAD is 24bytes
jnxyatmjx opened this issue · 2 comments
jnxyatmjx commented
why IKCP_OVERHEAD is 24bytes and how to calculate it?
RobertCXJ commented
conv = 4 bytes cmd = 1 byte frg = 1 byte wnd = 2bytes
ts = 4 bytes sn = 4 bytes
una = 4 bytes len = 4 bytes
a segment contains these fields, a total of 24 bytes
jnxyatmjx commented
conv = 4 bytes cmd = 1 byte frg = 1 byte wnd = 2bytes ts = 4 bytes sn = 4 bytes una = 4 bytes len = 4 bytes a segment contains these fields, a total of 24 bytes
thank you very much.