/// <summary> /// Initializes a new instance of the <see cref="SocketGuard" /> class. /// </summary> /// <param name="stream">The stream.</param> public SocketGuard(SocketStream stream) { this.stream = stream; }
/// <summary> /// Initializes a new instance of the <see cref="Socket" /> class. /// </summary> /// <param name="stream">The stream.</param> public Socket(SocketStream stream) { this.SocketStream = stream; }