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)
40
public void Shutdown(
SocketShutdown
how)
47
Shutdown(
SocketShutdown
.Send);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40
public void Shutdown(
SocketShutdown
how)
47
Shutdown(
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)
40
public void Shutdown(
SocketShutdown
how)
47
Shutdown(
SocketShutdown
.Send);
Sockets.FunctionalTests (4)
src\Servers\Kestrel\shared\test\TestConnection.cs (2)
40
public void Shutdown(
SocketShutdown
how)
47
Shutdown(
SocketShutdown
.Send);
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (2)
620
socket.Shutdown(
SocketShutdown
.Send);
758
connection.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)
512
s.Shutdown(
SocketShutdown
.Send);
515
s.Shutdown(
SocketShutdown
.Receive);
System.IO.Ports (2)
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)
532
s?.Shutdown(
SocketShutdown
.Both);
System.Net.Sockets (21)
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)
219
Interop.Sys.Shutdown(handle,
SocketShutdown
.Both);
System\Net\Sockets\Socket.cs (3)
2808
public void Shutdown(
SocketShutdown
how)
3454
errorCode = SocketPal.Shutdown(handle, _isConnected, _isDisconnected,
SocketShutdown
.Send);
3544
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)
287
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
System\Net\Sockets\UDPClient.cs (1)
239
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
387
_socket.Shutdown(
SocketShutdown
.Send);