Close RUDP schema client sessions cleanly

This commit is contained in:
Meta Vens 2026-07-12 10:53:05 +01:00
commit 5f1583b3c0
3 changed files with 78 additions and 1 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
@ -137,6 +138,11 @@ namespace GameCult.Networking
/// </summary>
public CultNetTransportStats Stats => _transport.Stats;
/// <summary>
/// Gets the currently tracked RUDP peers.
/// </summary>
public IReadOnlyCollection<CultNetRudpSocketServerPeer> Peers => _transport.Peers;
/// <summary>
/// Registers a schema-v0 handler.
/// </summary>