1
0
mirror of https://github.com/oliverbooth/TcpDotNet synced 2024-11-09 23:05:41 +00:00

refactor: suppress nrt for RemoteEndPoint read

This commit is contained in:
Oliver Booth 2024-02-13 00:07:10 +00:00
parent 906d5870f8
commit bf7f14acac
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -91,7 +91,7 @@ public sealed class ProtocolClient : ClientNode
}
IsConnected = true;
RemoteEndPoint = BaseSocket.RemoteEndPoint;
RemoteEndPoint = BaseSocket.RemoteEndPoint!;
State = ClientState.Handshaking;
var handshakeRequest = new HandshakeRequestPacket(ProtocolVersion);