Case
SocketError.timeout
A timeout: parameter elapsed before the operation completed.
case timeout
Mentioned In
Discussion
Emitted by connect(to:loop:timeout:), read(maxBytes:timeout:), and write(_:timeout:) when their optional timeout argument is non-nil and the kernel did not satisfy the readiness condition before the deadline. The socket itself remains usable for retry; partial writes are not consumed (the write(2) syscall is never issued when the timeout fires before write-readiness).