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

netconn_bind() function

Bind a netconn to a specific local IP address and port. Binding one netconn twice might not always be checked correctly!

Syntax

err_t netconn_bind(struct netconn *conn,     const ip_addr_t *addr,     u16_t port);
Implemented in api_lib.c:306

Arguments

conn

the netconn to bind

addr

the local IP address to bind the netconn to (use IP4_ADDR_ANY/IP6_ADDR_ANY to bind to all addresses)

port

the local port to bind the netconn to (not used for RAW)

Return value

ERR_OK if bound, any other err_t on failure

Examples

netconn_bind() is referenced by 7 libraries and example projects.

References

LocationReferrerText
api_lib.c:307
netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port)
api.h:326
err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port);
sockets.c:756lwip_bind()
err = netconn_bind(sock->conn, &local_addr, local_port);

Call Tree

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