Embedded TCP/IP stack  4.7.0

◆ fnet_socket_addr_are_equal()

fnet_bool_t fnet_socket_addr_are_equal ( const struct fnet_sockaddr addr1,
const struct fnet_sockaddr addr2 
)

Compares socket addresses.

Parameters
addr1First socket address to be compared.
addr2Second socket address to be compared.
Returns
This function returns:

This function compares specified socket addresses, depending on address family.
Port number and Scope Id do not take part in process of comparison.


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