netconn_bind()
Name
netconn_bind() -- Set local IP address/port of a netconn
Synopsis
err_t netconn_bind(struct netconn *conn, struct ip_addr *addr, u16_t port);
Description
Binds the connection conn to the local IP address
addr and TCP or UDP port
port. If addr is
NULL, the local IP address is determined by the networking
system.