25 references to LocalEndPoint
Microsoft.Diagnostics.NETCore.Client (1)
DiagnosticsIpc\IpcServerTransport.cs (1)
259OnCreateNewServer(socket.LocalEndPoint);
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\Helpers\SocketUtilities.cs (1)
67var endPointUsed = (IPEndPoint?)socket.LocalEndPoint;
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (2)
Resolver\LoopbackDnsServer.cs (2)
18public IPEndPoint DnsEndPoint => (IPEndPoint)_dnsSocket.LocalEndPoint!; 80_tcpSocket.Bind(new IPEndPoint(IPAddress.Loopback, ((IPEndPoint)_dnsSocket.LocalEndPoint!).Port));
Microsoft.TestPlatform.CommunicationUtilities (1)
TcpClientExtensions.cs (1)
35localEndPoint = client.Client.LocalEndPoint?.ToString();
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
166_localEndPoint = (IPEndPoint?)_socket!.LocalEndPoint;
System.Net.Requests (3)
System\Net\FtpControlStream.cs (3)
706IPEndPoint localEndPoint = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint!).Address, 0); 1102IPEndPoint epListener = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint!).Address, 0); 1125IPEndPoint localEP = (IPEndPoint)_dataSocket!.LocalEndPoint!;
System.Net.Security (1)
System\Net\Security\NetEventSource.Security.cs (1)
57localId = ns.Socket.LocalEndPoint?.ToString();
System.Net.Sockets (14)
System\Net\Sockets\Socket.cs (11)
1049if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint}"); 1091if (NetEventSource.Log.IsEnabled()) NetEventSource.Accepted(socket, socket.RemoteEndPoint!, socket.LocalEndPoint); 1150if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1197if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1342if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::SendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 1358if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 1547if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1645if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1820if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 2572if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::DoBeginSendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 3400if (NetEventSource.Log.IsEnabled()) NetEventSource.Connected(this, LocalEndPoint, RemoteEndPoint);
System\Net\Sockets\SocketAsyncEventArgs.cs (2)
1018NetEventSource.Accepted(_acceptSocket, _acceptSocket.RemoteEndPoint, _acceptSocket.LocalEndPoint); 1039NetEventSource.Connected(_currentSocket!, _currentSocket!.LocalEndPoint, _currentSocket.RemoteEndPoint);
System\Net\Sockets\TCPListener.cs (1)
86return _active ? _serverSocket!.LocalEndPoint! : _serverSocketEP;
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
470localIPEndpoint = (IPEndPoint)_socket.LocalEndPoint;