| ... | @@ -6088,6 +6088,9 @@ pub const SendError = error{ | ... | @@ -6088,6 +6088,9 @@ pub const SendError = error{ |
| 6088 | | 6088 | |
| 6089 | /// The local network interface used to reach the destination is down. | 6089 | /// The local network interface used to reach the destination is down. |
| 6090 | NetworkSubsystemFailed, | 6090 | NetworkSubsystemFailed, |
| | 6091 | |
| | 6092 | /// The destination address is not listening. |
| | 6093 | ConnectionRefused, |
| 6091 | } || UnexpectedError; | 6094 | } || UnexpectedError; |
| 6092 | | 6095 | |
| 6093 | pub const SendMsgError = SendError || error{ | 6096 | pub const SendMsgError = SendError || error{ |
| ... | @@ -6319,7 +6322,6 @@ pub fn send( | ... | @@ -6319,7 +6322,6 @@ pub fn send( |
| 6319 | error.AddressNotAvailable => unreachable, | 6322 | error.AddressNotAvailable => unreachable, |
| 6320 | error.SocketNotConnected => unreachable, | 6323 | error.SocketNotConnected => unreachable, |
| 6321 | error.UnreachableAddress => unreachable, | 6324 | error.UnreachableAddress => unreachable, |
| 6322 | error.ConnectionRefused => unreachable, | | |
| 6323 | else => |e| return e, | 6325 | else => |e| return e, |
| 6324 | }; | 6326 | }; |
| 6325 | } | 6327 | } |