|
scclib
Stable Cloud Computing C++ Library
|
A unix domain address, which is a file of type "socket.". More...
#include <unix.h>


Public Member Functions | |
| UnixAddr () | |
| IPv6 SocketBase address, initialized with "any" address. | |
| UnixAddr (const std::string &) | |
| UnixAddr (const sockaddr *) | |
| Initialize with socket address pointer. | |
| UnixAddr (const UnixAddr &) | |
| Copy create. | |
| UnixAddr & | operator= (const UnixAddr &) |
| Copy assign. | |
| UnixAddr (UnixAddr &&) | |
| Move create. | |
| UnixAddr & | operator= (UnixAddr &&) |
| Move assign. | |
| virtual | operator const sockaddr * () const |
| Cast to const opaque socket address. | |
| virtual | operator sockaddr * () |
| Cast to opaque socket address. | |
| virtual unsigned | len () const |
| Length of socket address. | |
| virtual std::string | str () const |
| Descriptive string for socket address. | |
| virtual std::string | host () const |
| Get host name. More... | |
| void | host (const std::string &) |
| Set host name. More... | |
A unix domain address, which is a file of type "socket.".
|
virtual |
Get host name.
For unix domain sockets this is a file name.
Reimplemented from scc::net::SockaddrBase.
| void UnixAddr::host | ( | const std::string & | h | ) |