#include <scim_socket.h>
Public Member Functions | |
SocketAddress (const String &addr=String()) | |
Constructor. | |
SocketAddress (const SocketAddress &addr) | |
Copy constructor. | |
~SocketAddress () | |
Destructor. | |
const SocketAddress & | operator= (const SocketAddress &addr) |
Copy operator. | |
bool | valid () const |
Check if this address is valid. | |
SocketFamily | get_family () const |
Get the family of this socket address. | |
bool | set_address (const String &addr) |
Set a new address. | |
String | get_address () const |
Get the address string. | |
const void * | get_data () const |
Get the internal data of this socket address, used by class Socket. | |
int | get_data_length () const |
Get the size of the internall data. |
Class SocketAddress encapsulates the details of socket address, like socketaddr_un and socketaddr_in.
A SocketAddress object can be constructed from an address string, which must start with one of the following prefixes:
Definition at line 96 of file scim_socket.h.
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Copy operator.
|
|
Check if this address is valid.
|
|
Get the family of this socket address.
|
|
Set a new address.
|
|
Get the address string.
|
|
Get the internal data of this socket address, used by class Socket.
|
|
Get the size of the internall data.
|