Methods Summary |
---|
public static native boolean | equal(long a, long b)See if the IP addresses in two APR socket addresses are
equivalent. Appropriate logic is present for comparing
IPv4-mapped IPv6 addresses with IPv4 addresses.
|
public static native boolean | fill(Sockaddr info, long sa)Fill the Sockaddr class from apr_sockaddr_t
|
public static native long | get(int which, long sock)Return an apr_sockaddr_t from an apr_socket_t
|
public static native Sockaddr | getInfo(long sa)Create the Sockaddr object from apr_sockaddr_t
|
public static native java.lang.String | getip(long sa)Return the IP address (in numeric address string format) in
an APR socket address. APR will allocate storage for the IP address
string from the pool of the apr_sockaddr_t.
|
public static native java.lang.String | getnameinfo(long sa, int flags)Look up the host name from an apr_sockaddr_t.
|
public static native int | getservbyname(long sockaddr, java.lang.String servname)Given an apr_sockaddr_t and a service name, set the port for the service
|
public static native long | info(java.lang.String hostname, int family, int port, int flags, long p)Create apr_sockaddr_t from hostname, address family, and port.
|