LwIP + 0/6 examples
CodeScope will show references to udp_connect() from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
LwIP
STM324x9I_EVAL
Applications
LwIP
STM324xG_EVAL
Applications
LwIP
 
Symbols
loading...
Files
loading...

udp_connect() function

Sets the remote end of the pcb. This function does not generate any network traffic, but only sets the remote address of the pcb. ipaddr & port are expected to be in the same byte order as in the pcb. The udp pcb is bound to a random local port if not already bound. @see udp_disconnect()

Syntax

err_t udp_connect (struct udp_pcb *pcb,     const ip_addr_t *ipaddr,     u16_t port);
Implemented in udp.c:1070

Arguments

pcb

UDP PCB to be connected with remote address ipaddr and port.

ipaddr

remote IP address to connect with.

port

remote UDP port to connect with.

Return value

lwIP error code

Examples

udp_connect() is referenced by 6 libraries and example projects.

References

Call Tree

Functions calling udp_connect()
Functions called by udp_connect()
udp_connect()
printf()
all items filtered out
Data read by udp_connect()
Data written by udp_connect()
udp_connect()
Type of udp_connect()
udp_connect()
all items filtered out