Name
udp_send() — Send UDP packet
Synopsis
err_t udp_send
(
struct udp_pcb *pcb
, struct pbuf *p
)
;
Description
Sends the pbuf p
to the remote host associated
with pcb
. The pbuf is not deallocated.
Return value
This function returns ERR_OK
on success; but
may return ERR_MEM
if there is insufficient
memory to prepend a UDP header, or ERR_RTE
if no suitable outgoing network interface could be found to route
the packet on.
2024-03-18 | LWIP Documentation Notices |