14 writes to RemoteEndPoint
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
176socketArgs.RemoteEndPoint = new DnsEndPoint(requestUri.DnsSafeHost, requestUri.Port);
Sockets.BindTests (2)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
1218RemoteEndPoint = serverSocket.LocalEndPoint
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
System.Net.Sockets (10)
System\Net\Sockets\Socket.cs (2)
3124e.RemoteEndPoint = endPointSnapshot; 3170e.RemoteEndPoint = endPointSnapshot;
System\Net\Sockets\Socket.Tasks.cs (7)
98saea.RemoteEndPoint = remoteEP; 416saea.RemoteEndPoint = remoteEndPoint; 420saea.RemoteEndPoint = s_IPEndPointIPv6; 456saea.RemoteEndPoint = null; 517saea.RemoteEndPoint = remoteEndPoint; 680saea.RemoteEndPoint = remoteEP; 711saea.RemoteEndPoint = null;
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
771internalArgs.RemoteEndPoint = new IPEndPoint(address, port);
16 references to RemoteEndPoint
System.Net.Sockets (16)
System\Net\Sockets\Socket.cs (11)
2893ArgumentNullException.ThrowIfNull(e.RemoteEndPoint, "remoteEP"); 2902EndPoint? endPointSnapshot = e.RemoteEndPoint; 2933if (!CanTryAddressFamily(e.RemoteEndPoint.AddressFamily)) 2993if (e.RemoteEndPoint == null) 2998EndPoint endPointSnapshot = e.RemoteEndPoint; 3094EndPoint? endPointSnapshot = e.RemoteEndPoint; 3151if (e.RemoteEndPoint == null) 3155if (!CanTryAddressFamily(e.RemoteEndPoint.AddressFamily)) 3157throw new ArgumentException(SR.Format(SR.net_InvalidEndPointAddressFamily, e.RemoteEndPoint.AddressFamily, _addressFamily), nameof(e)); 3165EndPoint endPointSnapshot = e.RemoteEndPoint; 3257EndPoint? endPointSnapshot = e.RemoteEndPoint;
System\Net\Sockets\Socket.Tasks.cs (4)
1092EndPoint remoteEndPoint = RemoteEndPoint!; 1129EndPoint remoteEndPoint = RemoteEndPoint!; 1337EndPoint remoteEndPoint = RemoteEndPoint!; 1359EndPoint remoteEndPoint = RemoteEndPoint!;
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
764if (internalArgs.RemoteEndPoint is IPEndPoint existing)