Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide a c# server code alone?I plan to use it to synchronize data between multiple clients. #38

Open
fenglindubu opened this issue Feb 3, 2022 · 0 comments

Comments

@fenglindubu
Copy link

Can you provide a c# server code alone, which is not Unity, so that I can learn easily. I plan to use it to synchronize data between multiple clients.
Task.Run(() => {

             while (true)
             {
                 server.Tick();
                //TickIncoming();
                //TickOutgoing();
             }
         });

Is such code ok? If you put it into c# to run alone, please give pointers on what to optimize.

Using kcp for the first time, some problems need your help. Please give pointers! sincere thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant