2 instantiations of SocketAddress
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (2)
71
var v4address = new
SocketAddress
(AddressFamily.InterNetwork, IPv4AddressSize);
83
var v6address = new
SocketAddress
(AddressFamily.InterNetworkV6, IPv6AddressSize);
12 references to SocketAddress
Microsoft.AspNetCore.Server.HttpSys (12)
RequestProcessing\Request.cs (4)
33
private AspNetCore.HttpSys.Internal.
SocketAddress
? _localEndPoint;
34
private AspNetCore.HttpSys.Internal.
SocketAddress
? _remoteEndPoint;
294
private AspNetCore.HttpSys.Internal.
SocketAddress
RemoteEndPoint
307
private AspNetCore.HttpSys.Internal.
SocketAddress
LocalEndPoint
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (3)
66
internal static unsafe
SocketAddress
? CopyOutAddress(IntPtr address)
71
var
v4address = new SocketAddress(AddressFamily.InterNetwork, IPv4AddressSize);
83
var
v6address = new SocketAddress(AddressFamily.InterNetworkV6, IPv6AddressSize);
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (5)
625
internal
SocketAddress
? GetRemoteEndPoint()
630
internal
SocketAddress
? GetLocalEndPoint()
635
private
SocketAddress
? GetEndPoint(bool localEndpoint)
651
private
SocketAddress
? GetEndPointHelper(bool localEndpoint, HTTP_REQUEST_V1* request, byte* pMemoryBlob)
660
return
SocketAddress
.CopyOutAddress(address);