Skip to content

Configuration Questions #4075

Description

@mhn1999

hello again, i dont have discord( a bit old fasioned) so i ask my questions here
im using mirror v96.8.4 with kcp transport
have couple of questions
1-if i limit my Network Manager send rate to 30 on headless server each network loop will take 33 ms there for kcp interval lower than 33 ms is useless am i right?
even with fast mode enable the max rto of a segment before a deadlink will take 9 seconds(calculated using this formula with nodelay enabled)

// line  867 of KCP.cs
// rx_rto is clamped between 30 and 60000ms when nodelay==1
                    else
                    {
                        int step = (nodelay < 2) ? segment.rto : rx_rto;
                        segment.rto += step / 2;
                    }
                    segment.resendts = current + (uint)segment.rto;

than why did you guys double the deadlink and left this comment =>// default prematurely disconnects a lot of people (#3022). use 2x.?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions