34 references to SocketShutdown
System (32)
net\System\Net\_ConnectStream.cs (12)
632
SafeSetSocketTimeout(
SocketShutdown
.Send);
1000
SafeSetSocketTimeout(
SocketShutdown
.Send);
1099
SafeSetSocketTimeout(
SocketShutdown
.Send);
1419
SafeSetSocketTimeout(
SocketShutdown
.Receive);
2211
SafeSetSocketTimeout(
SocketShutdown
.Send);
2323
private void SafeSetSocketTimeout(
SocketShutdown
mode) {
2330
if (mode ==
SocketShutdown
.Receive) {
2444
SafeSetSocketTimeout(
SocketShutdown
.Send);
2614
SafeSetSocketTimeout(
SocketShutdown
.Send);
2656
SafeSetSocketTimeout(
SocketShutdown
.Send);
2912
networkStream.SetSocketTimeoutOption(
SocketShutdown
.Receive, drainTimeoutMilliseconds, false);
2967
SafeSetSocketTimeout(
SocketShutdown
.Receive);
net\System\Net\_FtpDataStream.cs (1)
352
internal void SetSocketTimeoutOption(
SocketShutdown
mode, int timeout, bool silent) {
net\System\Net\_PooledStream.cs (1)
796
internal void SetSocketTimeoutOption(
SocketShutdown
mode, int timeout, bool silent) {
net\System\Net\_TLSstream.cs (3)
254
chkSocket.InternalShutdown(
SocketShutdown
.Both);
325
chkSocket.InternalShutdown(
SocketShutdown
.Both);
355
chkSocket.InternalShutdown(
SocketShutdown
.Both);
net\System\Net\FtpWebRequest.cs (2)
1104
connection.SetSocketTimeoutOption(
SocketShutdown
.Both, RemainingTimeout, false);
1484
stream.SetSocketTimeoutOption(
SocketShutdown
.Both, Timeout, true);
net\System\Net\Sockets\NetworkStream.cs (8)
274
SetSocketTimeoutOption(
SocketShutdown
.Receive, value, false);
306
SetSocketTimeoutOption(
SocketShutdown
.Send, value, false);
652
chkStreamSocket.InternalShutdown(
SocketShutdown
.Both);
1272
internal void SetSocketTimeoutOption(
SocketShutdown
mode, int timeout, bool silent) {
1284
if (mode==
SocketShutdown
.Send || mode==
SocketShutdown
.Both) {
1290
if (mode==
SocketShutdown
.Receive || mode==
SocketShutdown
.Both) {
net\System\Net\Sockets\Socket.cs (3)
5631
public void Shutdown(
SocketShutdown
how) {
6328
errorCode = UnsafeNclNativeMethods.OSSOCK.shutdown(m_Handle, (int)
SocketShutdown
.Send);
6427
internal void InternalShutdown(
SocketShutdown
how) {
net\System\Net\Sockets\TCPClient.cs (1)
479
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
net\System\Net\Sockets\UDPClient.cs (1)
279
chkClientSocket.InternalShutdown(
SocketShutdown
.Both);
System.Net (1)
AssemblyInfo.cs (1)
59
[assembly: TypeForwardedToAttribute(typeof(System.Net.Sockets.
SocketShutdown
))]
System.ServiceModel (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
565
socket.Shutdown(
SocketShutdown
.Send);