How to utilize NetworkUtil::tcp_sum? #62
-
|
I don't know how to use tcp_sum () function.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I'm just a student. uint16_t NetworkUtil::tcp_sum(uint32_t source, uint32_t dest, uint32_t sum = one_sum((uint8_t *)&pheader, sizeof(pheader)); |
Beta Was this translation helpful? Give feedback.
-
|
Oh I found that initial value of checksum should be 0.. but I missed it. |
Beta Was this translation helpful? Give feedback.


Oh I found that initial value of checksum should be 0.. but I missed it.