evutil_sockaddr_cmp

Compare two sockaddrs; return 0 if they are equal, or less than 0 if sa1 * preceeds sa2, or greater than 0 if sa1 follows sa2. If include_port is * true, consider the port as well as the address. Only implemented for * AF_INET and AF_INET6 addresses. The ordering is not guaranteed to remain * the same between Libevent versions.

extern (C) nothrow
int
evutil_sockaddr_cmp
(
const(sockaddr)* sa1
,
const(sockaddr)* sa2
,)

Meta