SocketTests ConnectClientAndDisposeServer Method Delta Engine Documentation

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

public void ConnectClientAndDisposeServer()
Examples

[Test, Category("Slow")]
public void ConnectClientAndDisposeServer()
{
    var client = CreatedConnectedClient();
    Thread.Sleep(1);
    echoServer.ClientConnected += connection => Assert.IsTrue(client.IsConnected);
    ShutDownServer();
}
See Also