14 references to Both
ClientSample (1)
Tcp\TcpConnection.cs (1)
210
_socket.Shutdown(SocketShutdown.
Both
);
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
193
_socket.Shutdown(SocketShutdown.
Both
);
317
_socket.Shutdown(SocketShutdown.
Both
);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
397
_socket.Shutdown(SocketShutdown.
Both
);
System.IO.Ports (1)
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
39
Interop.Serial.Shutdown(handle, SocketShutdown.
Both
);
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
532
s?.Shutdown(SocketShutdown.
Both
);
System.Net.Sockets (8)
System\Net\Sockets\NetworkStream.cs (3)
409
_streamSocket.InternalShutdown(SocketShutdown.
Both
);
695
if (mode == SocketShutdown.Send || mode == SocketShutdown.
Both
)
704
if (mode == SocketShutdown.Receive || mode == SocketShutdown.
Both
)
System\Net\Sockets\SafeSocketHandle.cs (1)
65
how == SocketShutdown.
Both
)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
219
Interop.Sys.Shutdown(handle, SocketShutdown.
Both
);
System\Net\Sockets\SocketPal.Unix.cs (1)
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
);