udp_connect()

Name

udp_connect() -- Set remote UDP peer

Synopsis

err_t udp_connect(struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port);

Description

Sets the remote end of pcb. This function does not generate any network traffic, but only sets the remote address of the pcb.

Return value

This function can return ERR_USE if all usable UDP dynamic ports are used. Otherwise udp_connect() will always return ERR_OK.

2017-02-09
Documentation license for this page: eCosPro License