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)
65
using var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (10)
Listener\RequestHeaderTests.cs (1)
224
Socket socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
Listener\RequestTests.cs (1)
184
using (var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp))
Listener\ResponseHeaderTests.cs (1)
366
var s = new
Socket
(SocketType.Stream, ProtocolType.Tcp) { NoDelay = true };
RequestHeaderTests.cs (2)
73
using var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
273
using (Socket socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp))
RequestTests.cs (4)
385
using (var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp))
541
using var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
588
using var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
637
using (var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp))
ResponseTests.cs (1)
266
using var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
302
var socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
687
Socket socket = new
Socket
(SocketType.Stream, ProtocolType.Tcp) { NoDelay = true };
System.Net.Requests (3)
System\Net\FtpWebRequest.cs (2)
958
var client = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
975
var client = new
Socket
(SocketType.Stream, ProtocolType.Tcp);
System\Net\HttpWebRequest.cs (1)
1760
var 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);