err_t netconn_bind(struct netconn *conn, struct ip_addr *addr, u16_t port);
err_t netconn_bind
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.
conn
addr
port
NULL