39 references to SocketShutdown
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);
Microsoft.Diagnostics.NETCore.Client (1)
DiagnosticsIpc\IpcServerTransport.cs (1)
182
_socket.Shutdown(
SocketShutdown
.Both);
netstandard (1)
netstandard.cs (1)
1280
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.
SocketShutdown
))]
System (1)
src\runtime\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)
512
s.Shutdown(
SocketShutdown
.Send);
515
s.Shutdown(
SocketShutdown
.Receive);
System.IO.Ports (3)
_generated\0\LibraryImports.g.cs (1)
473
internal static extern partial global::Interop.Error Shutdown(nint socket, global::System.Net.Sockets.
SocketShutdown
how);
src\runtime\src\libraries\Common\src\Interop\Unix\System.IO.Ports.Native\Interop.Serial.cs (1)
20
internal static partial Error Shutdown(IntPtr socket,
SocketShutdown
how);
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
39
Interop.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)
537
s?.Shutdown(
SocketShutdown
.Both);
System.Net.Sockets (24)
_generated\0\LibraryImports.g.cs (3)
1658
internal static partial global::Interop.Error Shutdown(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.
SocketShutdown
how)
1683
static extern unsafe global::Interop.Error __PInvoke(nint __socket_native, global::System.Net.Sockets.
SocketShutdown
__how_native);
1692
internal static extern partial global::Interop.Error Shutdown(nint socket, global::System.Net.Sockets.
SocketShutdown
how);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.Shutdown.cs (2)
13
internal static partial Error Shutdown(SafeHandle socket,
SocketShutdown
how);
16
internal static partial Error Shutdown(IntPtr socket,
SocketShutdown
how);
System\Net\Sockets\NetworkStream.cs (8)
138
SetSocketTimeoutOption(
SocketShutdown
.Receive, value, false);
165
SetSocketTimeoutOption(
SocketShutdown
.Send, value, false);
409
_streamSocket.InternalShutdown(
SocketShutdown
.Both);
686
internal void SetSocketTimeoutOption(
SocketShutdown
mode, int timeout, bool silent)
695
if (mode ==
SocketShutdown
.Send || mode ==
SocketShutdown
.Both)
704
if (mode ==
SocketShutdown
.Receive || mode ==
SocketShutdown
.Both)
System\Net\Sockets\SafeSocketHandle.cs (3)
62
internal void TrackShutdown(
SocketShutdown
how)
64
if (how ==
SocketShutdown
.Send ||
65
how ==
SocketShutdown
.Both)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
236
Interop.Sys.Shutdown(handle,
SocketShutdown
.Both);
System\Net\Sockets\Socket.cs (3)
2814
public void Shutdown(
SocketShutdown
how)
3468
errorCode = SocketPal.Shutdown(handle, _isConnected, _isDisconnected,
SocketShutdown
.Send);
3558
internal void InternalShutdown(
SocketShutdown
how)
System\Net\Sockets\SocketPal.Unix.cs (2)
2049
public static SocketError Shutdown(SafeSocketHandle handle, bool isConnected, bool isDisconnected,
SocketShutdown
how)
2161
socket.Shutdown(
SocketShutdown
.Both);
System\Net\Sockets\TCPClient.cs (1)
284
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
System\Net\Sockets\UDPClient.cs (1)
240
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
408
_socket.Shutdown(
SocketShutdown
.Send);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
387
_socket.Shutdown(
SocketShutdown
.Send);