Merge remote-tracking branch 'origin/codex/cultmesh-document-handles' into codex/cultmesh-reliability-control-plane

This commit is contained in:
Meta Vens 2026-07-13 02:04:36 +01:00
commit 7737d3f2f4
2 changed files with 7 additions and 1 deletions

View file

@ -587,7 +587,7 @@ namespace GameCult.Mesh
public sealed class CultMeshRudpSocketOptions
{
/// <summary>Gets or sets the local bind host.</summary>
public string BindHost { get; set; } = "127.0.0.1";
public string BindHost { get; set; } = "0.0.0.0";
/// <summary>Gets or sets the local bind port.</summary>
public int BindPort { get; set; }
/// <summary>Gets or sets a caller-owned bound socket.</summary>

View file

@ -3180,6 +3180,12 @@ namespace GameCult.Networking.Tests
Assert.That(catalog.IsAuthorized(peer, CultMeshPeerRoles.ShardPrimary, "players-us-east", now.AddMinutes(6)), Is.False);
}
[Test]
public void CultMeshRudpClient_DefaultBindAllowsRemoteRoutes()
{
Assert.That(new CultMeshRudpSocketOptions().BindHost, Is.EqualTo("0.0.0.0"));
}
[Test]
public void CultMeshRudpFacade_CreatesAuthorizedClientFromPeerEndpoint()
{