Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
more::io::socket_address Class Reference
A socket address.
More...
#include <more/io/socket.h>
Inheritance diagram for more::io::socket_address:
[legend]List of all members.Public Types
Public Methods
Protected Methods
Protected Attributes
Friends
- std::ostream & operator<< (std::ostream &, socket_address const &)
- std::istream & operator>> (std::istream &, socket_address &)
Detailed Description
A socket address.
For network connections, this contains an internet address and information needed by the specified protocol family, like the port number for IP V4 and IP V6.
Member Typedef Documentation
Constructor & Destructor Documentation
more::io::socket_address::socket_address |
( |
|
) |
[inline] |
|
|
Construct an undefined socket address.
|
more::io::socket_address::socket_address |
( |
socket_address const & |
|
) |
|
|
|
Construct a deep copy of a socket address.
|
more::io::socket_address::~socket_address |
( |
|
) |
|
|
Member Function Documentation
void more::io::socket_address::assert_defined |
( |
|
) |
const [inline, protected] |
|
family_type more::io::socket_address::family |
( |
|
) |
const |
|
|
returns the protocol family.
|
void more::io::socket_address::from_unix |
( |
void * |
, |
|
|
std::size_t |
size |
|
) |
|
|
bool more::io::socket_address::is_defined |
( |
|
) |
const [inline] |
|
|
true if it contains a socket address.
|
socket_address& more::io::socket_address::operator= |
( |
socket_address const & |
|
) |
|
|
|
Assign a deep copy of a socket address.
|
port_type more::io::socket_address::port |
( |
|
) |
const |
|
|
returns the port if applicable.
|
void const* more::io::socket_address::to_unix |
( |
|
) |
const [inline] |
|
void* more::io::socket_address::to_unix |
( |
|
) |
[inline] |
|
std::size_t more::io::socket_address::unix_size |
( |
|
) |
const |
|
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
socket_address const & |
|
|
) |
[friend] |
|
std::istream& operator>> |
( |
std::istream & |
, |
|
|
socket_address & |
|
|
) |
[friend] |
|
Member Data Documentation
void* more::io::socket_address::m_ptr_sockaddr [protected]
|
|
std::size_t more::io::socket_address::m_size_sockaddr [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:44 2002 for more with Doxygen
1.2.13.1. Doxygen 1.2.13.1 is written and copyright
1997-2002 by Dimitri van
Heesch.