mirror of
https://github.com/oliverbooth/TcpDotNet
synced 2024-11-10 04:55:41 +00:00
Compare commits
4 Commits
8452fee554
...
0db6fd2976
Author | SHA1 | Date | |
---|---|---|---|
|
0db6fd2976 | ||
45111aae72 | |||
87cb461872 | |||
9814ecdcee |
@ -101,8 +101,9 @@ public sealed class ProtocolClient : ClientNode
|
||||
{
|
||||
Close();
|
||||
IsConnected = false;
|
||||
throw new InvalidOperationException("Handshake failed. " +
|
||||
$"Server responded with {handshakeResponse.HandshakeResponse:D}");
|
||||
|
||||
var message = $"Handshake failed. Server responded with {handshakeResponse.HandshakeResponse:D}";
|
||||
throw new InvalidOperationException(message);
|
||||
}
|
||||
|
||||
State = ClientState.Encrypting;
|
||||
|
Loading…
Reference in New Issue
Block a user