#import <ObjectiveLib/SocketAddress.h>
Inheritance diagram for OLSocketAddress:

Public Member Functions | |
| (id) | - copyWithZone: |
| Make a copy of this socket address allocating memory from zone. | |
| (OLText *) | - description |
| Return a description of the socket address. | |
| (unsigned) | - hash |
| Return the hash code of this socket address. | |
| (const struct sockaddr *) | - hostRepresentation |
| Return a platform-dependent representation of the address. | |
| (unsigned) | - hostRepresentationLength |
| Return the length of the host representation. | |
This base class provides common functionality shared by all addresses.
| - (id) copyWithZone: | (NSZone *) | zone |
Make a copy of this socket address allocating memory from zone.
| zone | the zone from which to allocate memory |
Reimplemented in OLInternet4Address, OLInternet6Address, and OLUnixAddress.
| - (OLText*) description |
Return a description of the socket address.
The nature of the description will depend on the type of socket address.
Reimplemented in OLInternet4Address, OLInternet6Address, and OLUnixAddress.
| - (unsigned) hash |
Return the hash code of this socket address.
The hash code is computed using OLHash.
| - (const struct sockaddr*) hostRepresentation |
Return a platform-dependent representation of the address.
The returned data can be used in low-level socket operations and is intentionally opaque.
Reimplemented in OLInternet4Address, OLInternet6Address, and OLUnixAddress.
| - (unsigned) hostRepresentationLength |
Return the length of the host representation.
The length of the structure returned by hostRepresentation is returned.
Reimplemented in OLInternet4Address, OLInternet6Address, and OLUnixAddress.
|