Jpp 19.3.0-rc.2
the software that should make you happy
|
The JSocketAddress class encapsulates the sockaddr_in
data structure.
More...
#include <JSocketAddress.hh>
Public Member Functions | |
JSocketAddress () | |
Default constructor. | |
const sockaddr * | getSockaddr () const |
Get sockaddr. | |
sockaddr * | getSockaddr () |
Get sockaddr. | |
int | getFamily () const |
Get family. | |
void | setFamily (const int family) |
Set family. | |
std::string | getHostname () const |
Get host name. | |
int | getIPnumber () const |
Get IP number. | |
void | setIPnumber (const int ip_number) |
Set IP number. | |
void | setIPnumber () |
Set any IP number. | |
int | getPort () const |
Get port number. | |
void | setPort (const int port) |
Set port number. | |
Static Public Member Functions | |
static int | sizeOf () |
Get size of object. | |
The JSocketAddress class encapsulates the sockaddr_in
data structure.
Definition at line 26 of file JSocketAddress.hh.
|
inline |
Default constructor.
Definition at line 33 of file JSocketAddress.hh.
|
inline |
Get sockaddr.
Definition at line 44 of file JSocketAddress.hh.
|
inline |
Get sockaddr.
Definition at line 55 of file JSocketAddress.hh.
|
inline |
Get family.
Definition at line 66 of file JSocketAddress.hh.
|
inline |
Set family.
family | family |
Definition at line 77 of file JSocketAddress.hh.
|
inline |
Get host name.
Definition at line 88 of file JSocketAddress.hh.
|
inline |
Get IP number.
Definition at line 99 of file JSocketAddress.hh.
|
inline |
Set IP number.
ip_number | IP number |
Definition at line 110 of file JSocketAddress.hh.
|
inline |
Set any IP number.
Definition at line 119 of file JSocketAddress.hh.
|
inline |
Get port number.
Definition at line 130 of file JSocketAddress.hh.
|
inline |
Set port number.
port | port number |
Definition at line 141 of file JSocketAddress.hh.
|
inlinestatic |
Get size of object.
Definition at line 155 of file JSocketAddress.hh.