Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct UDP checksum calculation (fixes #5)
RFC768: > If the computed checksum is zero it is transmitted as all ones (the equivalent in one's complement arithmetic). An all zero transmitted checksum value means that the transmitter generated no checksum (for debugging or for higher level protocols that don't care).
- Loading branch information