Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Refer to section Sample applications for examples on IPv6 Address Auto-Configuration.

IP

...

Addressing with Socket Programming

When developing a network application that send and/or receive data, IP address handling will be required. 

...

You also have the option to bind to the wildcard address (0.0.0.0 for IPv4 and :: for IPv6). In that case, the server socket is not bound to any IP address in particular, therefore any packets send to the corresponding server port number will be received by the server regardless of the destination address. When sending packets, the µC/TCP-IP stack will take care of setting the best source address for the destination. 

When you setup a client application, you MAY want to bind to a specific configured IP address. Knowing the destination IP address, you can use the function NetIPv4_GetAddrSrc or NetIPv6_GetAddrSrc to found the best suited configured IP address for your destination. 

...