This module allows using of internet IP addresses. It is also capable of resolving addresses and hostnames.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You shoukd treat this type as opaque. Its members are not part of the API, i.e. they are subject to changes without notice ! |
|
Address family (in most cases this is AddressFamilyIP) |
|
|
|
|
|
Gets the IP address stored in the INETADDRESS.
|
|
|
|
Gets the host name stored in the INETADDRESS. If there is none, then the IP address stored in the INETADDRESS will be used to resolve the hostname.
|
|
Return the port stored in the INETADDRESS
|
|
|
|
Sets the IP address.
|
|
Sets the IP name and resolves its address.
|
|
Set the port in the given INETADDRESS.
|