45 references to SocketShutdown
ClientSample (1)
Tcp\TcpConnection.cs (1)
210_socket.Shutdown(SocketShutdown.Both);
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (3)
193_socket.Shutdown(SocketShutdown.Both); 317_socket.Shutdown(SocketShutdown.Both); 346_socket.Shutdown(SocketShutdown.Send);
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40public void Shutdown(SocketShutdown how) 47Shutdown(SocketShutdown.Send);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40public void Shutdown(SocketShutdown how) 47Shutdown(SocketShutdown.Send);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
397_socket.Shutdown(SocketShutdown.Both);
netstandard (1)
netstandard.cs (1)
1280[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.SocketShutdown))]
Sockets.BindTests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40public void Shutdown(SocketShutdown how) 47Shutdown(SocketShutdown.Send);
Sockets.FunctionalTests (4)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40public void Shutdown(SocketShutdown how) 47Shutdown(SocketShutdown.Send);
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (2)
620socket.Shutdown(SocketShutdown.Send); 758connection.Shutdown(SocketShutdown.Send);
System (1)
src\libraries\shims\System\ref\System.cs (1)
770[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.SocketShutdown))]
System.IO.Pipes (2)
System\IO\Pipes\PipeStream.Unix.cs (2)
512s.Shutdown(SocketShutdown.Send); 515s.Shutdown(SocketShutdown.Receive);
System.IO.Ports (2)
src\libraries\Common\src\Interop\Unix\System.IO.Ports.Native\Interop.Serial.cs (1)
20internal static partial Error Shutdown(IntPtr socket, SocketShutdown how);
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
39Interop.Serial.Shutdown(handle, SocketShutdown.Both);
System.Net (1)
System.Net.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.SocketShutdown))]
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
532s?.Shutdown(SocketShutdown.Both);
System.Net.Sockets (21)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Shutdown.cs (2)
13internal static partial Error Shutdown(SafeHandle socket, SocketShutdown how); 16internal static partial Error Shutdown(IntPtr socket, SocketShutdown how);
System\Net\Sockets\NetworkStream.cs (8)
138SetSocketTimeoutOption(SocketShutdown.Receive, value, false); 165SetSocketTimeoutOption(SocketShutdown.Send, value, false); 409_streamSocket.InternalShutdown(SocketShutdown.Both); 686internal void SetSocketTimeoutOption(SocketShutdown mode, int timeout, bool silent) 695if (mode == SocketShutdown.Send || mode == SocketShutdown.Both) 704if (mode == SocketShutdown.Receive || mode == SocketShutdown.Both)
System\Net\Sockets\SafeSocketHandle.cs (3)
62internal void TrackShutdown(SocketShutdown how) 64if (how == SocketShutdown.Send || 65how == SocketShutdown.Both)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
219Interop.Sys.Shutdown(handle, SocketShutdown.Both);
System\Net\Sockets\Socket.cs (3)
2808public void Shutdown(SocketShutdown how) 3454errorCode = SocketPal.Shutdown(handle, _isConnected, _isDisconnected, SocketShutdown.Send); 3544internal void InternalShutdown(SocketShutdown how)
System\Net\Sockets\SocketPal.Unix.cs (2)
2049public static SocketError Shutdown(SafeSocketHandle handle, bool isConnected, bool isDisconnected, SocketShutdown how) 2161socket.Shutdown(SocketShutdown.Both);
System\Net\Sockets\TCPClient.cs (1)
287chkClientSocket.InternalShutdown(SocketShutdown.Both);
System\Net\Sockets\UDPClient.cs (1)
239chkClientSocket.InternalShutdown(SocketShutdown.Both);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
387_socket.Shutdown(SocketShutdown.Send);