Bind a netconn to a local IP address or to any IP address. Note that if you try to bind the same address and/or port you might get an error (ERR_USE, address in use), even if you delete the netconn. Only after some time (minutes) the resources are completely cleared in the underlying stack due to the need to follow the TCP specification and go through the TCP timewait state. The following function is used to implement a server. netconn_bind can be used for a client too (see example in netconn_connect) but is often omitted if you don't care about the local address and port.
Graph IRI | Count |
---|