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