tcp_bind_netif() function
Binds the connection to a netif and IP address. After calling this function, all packets received via this PCB are guaranteed to have come in via the specified netif, and all outgoing packets will go out via the specified netif.
Arguments
pcb
the tcp_pcb to bind.
netif
the netif to bind to. Can be NULL.
Functions calling tcp_bind_netif()
tcp_bind_netif()
Data read by tcp_bind_netif()
Data written by tcp_bind_netif()
tcp_bind_netif()