net/types.ha
raw| 1 | // SPDX-License-Identifier: MPL-2.0 |
| 2 | // (c) Hare authors <https://harelang.org> |
| 3 | |
| 4 | // The end of the full-duplex connection that should be [[shutdown]]. |
| 5 | export type shut = enum { |
| 6 | RD, // Disables further receptions. |
| 7 | WR, // Disables further transmissions. |
| 8 | RDWR, // Disables further receptions and transmissions. |
| 9 | }; |