26 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)
632
static IPEndPoint? GetRemoteEndPoint(Stream stream) => (stream as NetworkStream)?.Socket?.
RemoteEndPoint
as IPEndPoint;
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
163
get { return (IPEndPoint?)_socket!.
RemoteEndPoint
; }
System.Net.Requests (3)
System\Net\FtpControlStream.cs (2)
109
if (!connection.ServerAddress.Equals(((IPEndPoint)connection._dataSocket.
RemoteEndPoint
!).Address))
716
if (!ServerAddress.Equals(((IPEndPoint)_dataSocket.
RemoteEndPoint
!).Address))
System\Net\NetworkStreamWrapper.cs (1)
32
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)
1050
if (NetEventSource.Log.IsEnabled()) NetEventSource.Accepted(socket, socket.
RemoteEndPoint
!, socket.LocalEndPoint);
1097
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
}");
1140
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} size:{size}");
1268
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::SendFile() SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} fileName:{fileName}");
1449
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} size:{size}");
1537
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{
RemoteEndPoint
}");
2432
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::DoBeginSendFile() SRC:{LocalEndPoint} DST:{
RemoteEndPoint
} fileName:{fileName}");
3226
if (NetEventSource.Log.IsEnabled()) NetEventSource.Connected(this, LocalEndPoint,
RemoteEndPoint
);
System\Net\Sockets\SocketAsyncEventArgs.cs (2)
881
NetEventSource.Accepted(_acceptSocket, _acceptSocket.
RemoteEndPoint
, _acceptSocket.LocalEndPoint);
902
NetEventSource.Connected(_currentSocket!, _currentSocket!.LocalEndPoint, _currentSocket.
RemoteEndPoint
);
System.ServiceModel.NetTcp (3)
System\ServiceModel\Channels\SocketConnection.cs (3)
364
new CommunicationException(SR.Format(SR.SocketCloseReadReceivedData, _socket.
RemoteEndPoint
)));
370
SR.Format(SR.SocketCloseReadTimeout, _socket.
RemoteEndPoint
, _readFinTimeout), timeoutException));
471
remoteIPEndpoint = _remoteEndpoint ?? (IPEndPoint)_socket.
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
;