class BNetAddress : public BArchivable

Represents network addresses.

This class is used to represent network addresses, and provide access to a network address in a variety of formats. BNetAddress provides various ways to get and set a network address, converting to or from the chosen representation into a generic internal one.

The BNetAddress() constructor functions can take a network address in one of several different forms, and return an object providing a link to that address. Note that InitCheck() should be called immediately after constructiong an address object, to verify that the construction was successful.

The SetTo() functions set the object's internal address representation to refer to the internet address specified by the passed-in data, which can be given in a variety of forms. These functions return true if successful, false otherwise.

The GetAddr() functions convert the object's internal internet address representation into a specified form and return it by filling in passed-in parameters. These functions return true if successful, false otherwise.

Members: