Merge remote-tracking branch 'origin/codex/cultmesh-document-handles' into codex/cultmesh-reliability-control-plane
This commit is contained in:
commit
7737d3f2f4
2 changed files with 7 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue