Functions | |
| esp_err_t | init () |
| Initialize UDP. | |
Variables | |
| constexpr uint16_t | port {21105u} |
| int | sock_fd |
| esp_err_t intf::udp::init | ( | ) |
Initialization takes place in init(). This function creates an IPv4 UDP socket, stores the descriptor in sock_fd, and binds it to port 21105 on all local interfaces (INADDR_ANY).
The initialized socket is used by the Z21 service.
|
inlineconstexpr |
|
inline |