Embedded TCP/IP stack  4.7.0

◆ fnet_socket_addr_is_unspecified()

fnet_bool_t fnet_socket_addr_is_unspecified ( const struct fnet_sockaddr addr)

Determines, if socket address is unspecified.

Parameters
addrSocket address.
Returns
This function returns:
  • FNET_TRUE if the address is unspecified.
  • FNET_FALSE if the address is specified.

This function determines if the socket address is unspecified (IP address is set to all zeros) or not.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net