18 references to Socket
ClientSample (1)
Tcp\TcpConnection.cs (1)
29_socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
65using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (10)
Listener\RequestHeaderTests.cs (1)
224Socket socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
Listener\RequestTests.cs (1)
184using (var socket = new Socket(SocketType.Stream, ProtocolType.Tcp))
Listener\ResponseHeaderTests.cs (1)
366var s = new Socket(SocketType.Stream, ProtocolType.Tcp) { NoDelay = true };
RequestHeaderTests.cs (2)
73using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp); 273using (Socket socket = new Socket(SocketType.Stream, ProtocolType.Tcp))
RequestTests.cs (4)
385using (var socket = new Socket(SocketType.Stream, ProtocolType.Tcp)) 541using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp); 588using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp); 637using (var socket = new Socket(SocketType.Stream, ProtocolType.Tcp))
ResponseTests.cs (1)
266using var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
302var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
687Socket socket = new Socket(SocketType.Stream, ProtocolType.Tcp) { NoDelay = true };
System.Net.Requests (3)
System\Net\FtpWebRequest.cs (2)
958var client = new Socket(SocketType.Stream, ProtocolType.Tcp); 975var client = new Socket(SocketType.Stream, ProtocolType.Tcp);
System\Net\HttpWebRequest.cs (1)
1760var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
System.Net.Sockets (1)
System\Net\Sockets\TCPClient.cs (1)
377_clientSocket = new Socket(SocketType.Stream, ProtocolType.Tcp);