| // Copyright 2025 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| /// UDP types used across multiple FIDL endpoints. | |
| @available(added=HEAD) | |
| library fuchsia.net.udp; | |
| /// The state of a UDP socket. | |
| type State = strict enum { | |
| /// The socket is bound, but not connected. | |
| BOUND = 1; | |
| /// The socket is connected to a specific destination address and port. | |
| CONNECTED = 2; | |
| }; |