ServerTests ConnectClient Method Delta Engine Documentation

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

public void ConnectClient()
Examples

[Test]
public void ConnectClient()
{
    bool didClientConnect = false;
    server.ClientConnected += client => didClientConnect = true;
    CreateConnectedClient();
    Assert.AreEqual(1, server.NumberOfConnectedClients);
    Assert.IsTrue(didClientConnect);
}
See Also