LiteNetLib
lidgren-network-gen3
Our great sponsors
LiteNetLib | lidgren-network-gen3 | |
---|---|---|
25 | 5 | |
2,938 | 1,183 | |
- | - | |
7.4 | 0.0 | |
3 days ago | about 3 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LiteNetLib
-
Dedicated Server outside of the Engine
I personally use this LiteNetLib
-
Favorite Networking Solutions ?
Been using LiteNetLib for our current project and it is pretty nice
-
Mirroring Input Events to multiple computers
Currently I'm using LiteNetLib (https://github.com/RevenantX/LiteNetLib) and it's working pretty well. There is a little input lag but it's more than acceptable.
-
Lan connection for a monogame game
Check LiteNetLib. Judging by your requirements simply passing coordinates back and forth between two clients should work. Designate one of the games as host and the other as client, but just pass coordinates would work over LAN. Optimise from there if gameplay isn’t thet smoot by lerping between past and newly received coordinates.
-
Windows Central: "Microsoft to merge Surface Pro X ARM and Surface Pro 9 Intel versions under one product line"
For networking, file IO, and streams in general, there's Korio and for Java; for just networking, there's LiteNetLib for C#; for what looks like data streams in general, there's Okio also for Java; and Tokio for multi-threaded IO in Rust.
-
Unity and Mirror: Can I Use it?
I've been a bit "Unity offline", and even more so when it comes to networking solutions, because of my real job :), but LiteNetLib is quite good. There's also a new HLAPI solution called FishNet which seems very interesting.
-
can we connect use udp connection to send messages from windows(udpclient) to linux(udpserver) in c#...(newbie so forgive for asking questions in non standard way)..
This might be handy for you :) https://github.com/RevenantX/LiteNetLib
-
"Network Stack" Explained & How "ViNL" Changes Development
they might be using LiteNetLib as their low level transport.
-
Worried about server security and seperation with Mirror Networking
You definitely want to a low level API (LLAPI) instead, like f.ex. LiteNetLib, ENet, lidgren or similar. I haven't touched anyone of these recently, except the first one a year-ish ago, so I won't say anything about where they stand today.
- Networking lib/framework for multiplayer servers ?
lidgren-network-gen3
-
How do modern games solve the NAT issue in multiplayer?
I use the NAT holepunching implementation in https://github.com/lidgren/lidgren-network-gen3 for my game, and it works without issues for most users.
-
What's something you REALLY want to add to your game BUT you avoid doing it (because of technical difficulties or scope)?
I use the c# library lidgren for my game and it includes multiple techniques for managing the nat port forwarding issue. Most notably, nat hole punching. Highly recommended!
-
[Modding-Info] Restoring multiplayer
Heya, so I've been trying to restore the multiplayer functionality for the past week or so. Spent way to much time on this. I had to remake the whole thing over and over again because of issues.. Currently I didn't get much further than enabling an actual lobby. The main issue is that so much of the code to boot the game in online mode is obfuscated. Now to some information that might be useful for others, because honestly I never really did anything with c# and unity. Whenever you try to go into online mode the game connects to: world.gameaccounts.swordcoast.com Failing to get a proper response sets the game in offline mode. The full string is: private const string ࢩ = "wss://world.gameaccounts.swordcoast.com/scl/websocket/game_auth"; Also obfuscated and located in assembly-csharp.dll -> ngCloudServices Setting your host file to redirect world.gameaccounts.swordcoast.com to your local ip works but obviously we are missing the server. So once again we are failing to connect, setting the game to offline mode and locking all network functionality. GameConfig.json in the game folder mentions LAN Lidgrin which is actually a typo by the devs. The name of this library is Lidgren, see: https://github.com/lidgren/lidgren-network-gen3 I'm not sure if the config file really does anything since the webserver failure locks the game in offline mode. But the libaries are included in the game. As for debugging, output_log.txt in the data folder is actually quite useful to see where the code falls apart. For decompiling, editing and compiling your modified code use dnspy: https://github.com/VNGhostMans/dnSpyEx If someone is picking this up and needs more information about the games code structure and such let me know.
-
Worried about server security and seperation with Mirror Networking
You definitely want to a low level API (LLAPI) instead, like f.ex. LiteNetLib, ENet, lidgren or similar. I haven't touched anyone of these recently, except the first one a year-ish ago, so I won't say anything about where they stand today.
-
[Hobby // RevShare] Looking For Senior Multiplayer Developer (Unity)
Lidgren
What are some alternatives?
ENet-CSharp - Reliable UDP networking library
GameNetworkingSockets - Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.
com.unity.netcode.gameobjects - Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
NetCoreServer - Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
dnSpyEx - Continue to develop the dnSpy project
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Hazel-Networking - Hazel Networking is a low level networking library for C# providing connection orientated, message based communication via TCP, UDP and RUDP.
MagicOnion - Unified Realtime/API framework for .NET platform and Unity.
MiniUDP - A Simple UDP Layer for Shipping and Receiving Byte Arrays
nakama - Distributed server for social and realtime games and apps.
Neutrino - A low-latency, high performance network library for real-time apps and games.