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()
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.
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()::ipcb udp_connect()::err all items filtered out
udp_connect()
udp_connect()::ipcb all items filtered out
Type of udp_connect()
udp_connect()