Skip to content

Wrong max frame packet header size #54

@loudblow

Description

@loudblow

Why is it counted as 20 when the correct size is 23?

pub const RAKNET_HEADER_FRAME_OVERHEAD: u16 = 20 + 8 + 8 + 4 + 20;

1 byte (flags) + 2 bytes (payload length) + 3 bytes (reliable index) + 3 bytes (sequence index) + 3 bytes (order index) + 1 byte (order channel) + 4 bytes (compound size) + 2 bytes (compound id) + 4 bytes (compound index) = 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingMinorThis issue or PR contains minor changesUnconfirmedThis bug/issue has not been confirmed yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions