Close RUDP schema client sessions cleanly
This commit is contained in:
parent
ffeb4c1f09
commit
5f1583b3c0
3 changed files with 78 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue