index previous next




File name: sockaddr.hpp
contents: abstract class ACSocketAddress
use: provides a common interface for socket addresses, which may be in the UNIX or internet domain


member functions:

 ACSocketAddress(): Empty.

 virtual ~ACSocketAddress(): Empty.

 virtual sockaddr* Addr(): pure virtual
Should return a pointer to the address structure itself.

 virtual int Family(): pure virtual
Should return the family of the socket address, ie., AF_UNIX if UNIX domain is used, AF_INET if internet domain is used.

 virtual int Size(): pure virtual
Should return the size of the address structure.


last modified: Fri Feb 5 18:56:33 1999