breuerfelix / Async-Socket-TCP

C# module for communicate between many clients and one server. For example Web- or MMORPG-Server.

Home Page:https://breuer.dev/blog/async-tcp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async-Socket-TCP

I wanted to program a server which can handle alot of clients at the same time just like MMORPG-Servers do.

Many Languages are capable of doing this, but most of them are optimized for Web-Servers.
Another important aspect is the amount of data being sent over the stream. There shouldn't be any limit for the package size.

Code

Enough talking. Here are the complete codeblocks for each client- and serverside.
I implemented a little bit more code than above in the tutorial, but everything should be well explained in the comments.
Feel free to use this code and maybe program your own little MMORPG software.

About

C# module for communicate between many clients and one server. For example Web- or MMORPG-Server.

https://breuer.dev/blog/async-tcp


Languages

Language:C# 100.0%