10 references to ReceiveTimeout
System.Net.Sockets (10)
System\Net\Sockets\NetworkStream.cs (2)
123
int timeout = (int)_streamSocket.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
)!;
708
_streamSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
, timeout, silent);
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
92
case SocketOptionName.
ReceiveTimeout
: _trackedOptions |= TrackedSocketOptions.ReceiveTimeout; return;
System\Net\Sockets\Socket.cs (3)
546
return (int)GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
)!;
557
SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
, value);
3461
SocketOptionName.
ReceiveTimeout
,
System\Net\Sockets\SocketPal.Unix.cs (2)
1437
if (optionName == SocketOptionName.
ReceiveTimeout
)
1604
if (optionName == SocketOptionName.
ReceiveTimeout
)
System\Net\Sockets\TCPClient.cs (2)
325
return (int)Client.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
)!;
330
Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.
ReceiveTimeout
, value);