Creates a new UDP pcb which can be used for UDP communication. The pcb is not active until it has either been bound to a local address or connected to a remote address. void udp_remove(struct udp_pcb * pcb) Removes and deallocates the pcb. err_t udp_bind(struct udp_pcb * pcb, struct ip_addr * ipaddr, u16_t port) Binds the pcb to a local address. The IP-address argument "ipaddr" can be IP_ADDR_ANY to indicate that it should listen to any local IP address. The function returns ERR_USE if the specified port is already in use, otherwise ERR_OK. void udp_disconnect(struct udp_pcb * pcb)
| Entity | Attribute | Value | Rank |
|---|