Server ListenPort Property Delta Engine Documentation

Namespace: DeltaEngine.Networking
Assembly: DeltaEngine.Networking (in DeltaEngine.Networking.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public virtual int ListenPort { get; protected set; }

Property Value

Type: Int32
Remarks

Tests: DeltaEngine.Networking.Tests.ServerTests
Examples

1 unit tests call DeltaEngine.Networking.Server.ListenPort
[Test]
public void InitiallyNoClients()
{
    Assert.AreEqual(0, server.ListenPort);
    Assert.AreEqual(0, server.NumberOfConnectedClients);
}
See Also