23 references to RemoteEndPoint
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
99
return (IPEndPoint)_socket.
RemoteEndPoint
;
565
var remoteEndpoint = (IPEndPoint)_socket.
RemoteEndPoint
;
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
56
RemoteEndPoint = _socket.
RemoteEndPoint
;
Sockets.FunctionalTests (1)
SocketTransportTests.cs (1)
40
var ip = (IPEndPoint)socket.
RemoteEndPoint
;
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
657
static IPEndPoint? GetRemoteEndPoint(Stream stream) => (stream as NetworkStream)?.Socket?.
RemoteEndPoint
as IPEndPoint;
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
168
get { return (IPEndPoint?)_socket!.
RemoteEndPoint
; }
System.Net.Requests (3)
System\Net\FtpControlStream.cs (2)
112
if (!connection.ServerAddress.Equals(((IPEndPoint)connection._dataSocket.
RemoteEndPoint
!).Address))
745
if (!ServerAddress.Equals(((IPEndPoint)_dataSocket.
RemoteEndPoint
!).Address))
System\Net\NetworkStreamWrapper.cs (1)
35
return ((IPEndPoint)Socket.
RemoteEndPoint
!).Address;
System.Net.Security (1)
System\Net\Security\NetEventSource.Security.cs (1)
58
remoteId = ns.Socket.
RemoteEndPoint
?.ToString();
System.Net.Sockets (10)
System\Net\Sockets\Socket.cs (8)
1093
if (NetEventSource.Log.IsEnabled()) NetEventSource.Accepted(socket, socket.
RemoteEndPoint
!, socket.LocalEndPoint);
1152
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
}");
1199
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} size:{size}");
1337
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::SendFile() SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} fileName:{fileName}");
1542
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} size:{size}");
1640
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
}");
2567
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::DoBeginSendFile() SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} fileName:{fileName}");
3387
if (NetEventSource.Log.IsEnabled()) NetEventSource.Connected(this, LocalEndPoint,
RemoteEndPoint
);
System\Net\Sockets\SocketAsyncEventArgs.cs (2)
912
NetEventSource.Accepted(_acceptSocket, _acceptSocket.
RemoteEndPoint
, _acceptSocket.LocalEndPoint);
933
NetEventSource.Connected(_currentSocket!, _currentSocket!.LocalEndPoint, _currentSocket.
RemoteEndPoint
);
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\SocketConnection.cs (3)
341
new CommunicationException(SR.Format(SR.SocketCloseReadReceivedData, _socket.
RemoteEndPoint
)));
347
SR.Format(SR.SocketCloseReadTimeout, _socket.
RemoteEndPoint
, _readFinTimeout), timeoutException));
447
remoteIPEndpoint = _remoteEndpoint ?? (UnixDomainSocketEndPoint)_socket.
RemoteEndPoint
;