1 write to SendTimeout
System.Net.Sockets (1)
System\Net\Sockets\SocketPal.Unix.cs (1)
1445
handle.
SendTimeout
= optionValue == 0 ? -1 : optionValue;
11 references to SendTimeout
System.Net.Sockets (11)
System\Net\Sockets\SocketPal.Unix.cs (11)
970
long start = socket.IsUnderlyingHandleBlocking && socket.
SendTimeout
> 0 ? Environment.TickCount64 : 0; // Get ticks only if timeout is set and socket is blocking.
1023
if (socket.IsUnderlyingHandleBlocking && socket.
SendTimeout
> 0 && (Environment.TickCount64 - start) >= socket.
SendTimeout
)
1183
return handle.AsyncContext.Send(bufferList, socketFlags, handle.
SendTimeout
, out bytesTransferred);
1198
return handle.AsyncContext.Send(buffer, offset, count, socketFlags, handle.
SendTimeout
, out bytesTransferred);
1211
return handle.AsyncContext.Send(buffer, socketFlags, handle.
SendTimeout
, out bytesTransferred);
1228
return handle.AsyncContext.SendFile(fileHandle, offset, length, handle.
SendTimeout
, out _);
1240
return handle.AsyncContext.SendTo(buffer, offset, count, socketFlags, socketAddress, handle.
SendTimeout
, out bytesTransferred);
1253
return handle.AsyncContext.SendTo(buffer, socketFlags, socketAddress, handle.
SendTimeout
, out bytesTransferred);
1611
optionValue = handle.
SendTimeout
== -1 ? 0 : handle.
SendTimeout
;