46 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)
614socket.Shutdown(SocketShutdown.Send); 744connection.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)
527s?.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)
134SetSocketTimeoutOption(SocketShutdown.Receive, value, false); 157SetSocketTimeoutOption(SocketShutdown.Send, value, false); 391_streamSocket.InternalShutdown(SocketShutdown.Both); 660internal void SetSocketTimeoutOption(SocketShutdown mode, int timeout, bool silent) 667if (mode == SocketShutdown.Send || mode == SocketShutdown.Both) 676if (mode == SocketShutdown.Receive || mode == SocketShutdown.Both)
System\Net\Sockets\SafeSocketHandle.cs (3)
63internal void TrackShutdown(SocketShutdown how) 65if (how == SocketShutdown.Send || 66how == SocketShutdown.Both)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
219Interop.Sys.Shutdown(handle, SocketShutdown.Both);
System\Net\Sockets\Socket.cs (3)
2649public void Shutdown(SocketShutdown how) 3293errorCode = SocketPal.Shutdown(handle, _isConnected, _isDisconnected, SocketShutdown.Send); 3383internal void InternalShutdown(SocketShutdown how)
System\Net\Sockets\SocketPal.Unix.cs (2)
1926public static SocketError Shutdown(SafeSocketHandle handle, bool isConnected, bool isDisconnected, SocketShutdown how) 2038socket.Shutdown(SocketShutdown.Both);
System\Net\Sockets\TCPClient.cs (1)
275chkClientSocket.InternalShutdown(SocketShutdown.Both);
System\Net\Sockets\UDPClient.cs (1)
239chkClientSocket.InternalShutdown(SocketShutdown.Both);
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
410_socket.Shutdown(SocketShutdown.Send);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
387_socket.Shutdown(SocketShutdown.Send);