7 references to Socket
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
657static IPEndPoint? GetRemoteEndPoint(Stream stream) => (stream as NetworkStream)?.Socket?.RemoteEndPoint as IPEndPoint;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
151return !networkStream.Socket.Poll(0, SelectMode.SelectRead);
System.Net.Requests (1)
System\Net\NetworkStreamWrapper.cs (1)
43return _networkStream.Socket;
System.Net.Security (2)
System\Net\Security\NetEventSource.Security.cs (2)
57localId = ns.Socket.LocalEndPoint?.ToString(); 58remoteId = ns.Socket.RemoteEndPoint?.ToString();
System.Net.Sockets (2)
System\Net\Sockets\NetworkStream.cs (2)
356/// If the <see cref="NetworkStream"/> owns the underlying <see cref="Socket"/>, it is closed as well. 372/// If the <see cref="NetworkStream"/> owns the underlying <see cref="Socket"/>, it is closed as well.