7 references to Socket
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
657
static IPEndPoint? GetRemoteEndPoint(Stream stream) => (stream as NetworkStream)?.
Socket
?.RemoteEndPoint as IPEndPoint;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
151
return !networkStream.
Socket
.Poll(0, SelectMode.SelectRead);
System.Net.Requests (1)
System\Net\NetworkStreamWrapper.cs (1)
43
return _networkStream.
Socket
;
System.Net.Security (2)
System\Net\Security\NetEventSource.Security.cs (2)
57
localId = ns.
Socket
.LocalEndPoint?.ToString();
58
remoteId = 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.