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