[APE Index] [APE Hierarchy] [Headers]
Internet Address binary data type. More...
#include <socket.h>
binary encoded internet host addresses are held in this special class object. This class represents the 'generic' internet address data type. Other InetAddress derived objects hold addresses which are used only for specific purposes, such as for network masks, broadcast addresses, etc.
[public]
Create an Internet Address object with an empty (0.0.0.0) address.
[public]
Convert the system internet address data type (struct in_addr) into an APE InetAddress object.
addr | struct of system used binary internet address. |
[public]
Convert an null terminated ASCII host address string (example: "127.0.0.1") directly into an APE InetAddress object.
address | null terminated C string. |
[public]
Provide a string representation of the value (Internet Address) held in the InetAddress object.
[public]
Provide a low level system usable struct in_addr object from the contents of InetAddress. This is needed for services such as bind() and connect().
| Kdoc |