markiodev / Networker

A simple to use TCP and UDP networking library for .NET. Compatible with Unity.
MIT License
477 stars 77 forks source link

About UDP version #19

Open Adevien opened 6 years ago

Adevien commented 6 years ago

HI, does the udp version reliable? or default udp.

markiodev commented 6 years ago

There is no implementation for a reliable UDP right now. If there is something provided by .NET I can look to add it.

iamkisly commented 5 years ago

Hello! It is a good idea to start a new unity network. They have a simple 32 bit header.

https://github.com/Unity-Technologies/multiplayer/blob/b7c2798078ab2408caf232b8775aa6ff9ac71ccd/com.unity.transport/Runtime/NetworkProtocols.cs#L27-L29

It's pretty simple, and you can peep here.

http://non6.blogspot.com/2019/04/unity-networking-dotnetty.html

Adevien commented 5 years ago

32bit header doesn't look good at all, but found an RUDP solution, now all i have to do is deal with collision server-side.