| ... | ... | @@ -374,6 +374,13 @@ pub const Operation = union(enum) { |
| 374 | 374 | ConnectionResetByPeer, |
| 375 | 375 | /// The local network interface used to reach the destination is offline. |
| 376 | 376 | NetworkDown, |
| 377 | /// A connectionless packet was previously sent successfully, |
| 378 | /// however, it was not received because no service is operating at |
| 379 | /// the destination port of the transport on the remote system. |
| 380 | /// This caused an ICMP port unreachable packet to be returned to |
| 381 | /// the OS where it was queued up to be reported at the next call |
| 382 | /// to send or receive on the bound socket. |
| 383 | PortUnreachable, |
| 377 | 384 | } || Io.UnexpectedError; |
| 378 | 385 | |
| 379 | 386 | pub const Result = struct { ?net.Socket.ReceiveError, usize }; |