Beam-lib 2.15.1 |
BSocketAddress Class Reference
Socket Address. More...
#include <BSocket.h>
Inheritance diagram for BSocketAddress:
Public Types | |
typedef struct sockaddr | SockAddr |
Public Member Functions | |
BSocketAddress () | |
BSocketAddress (const BSocketAddress &add) | |
BSocketAddress (SockAddr *address, int len) | |
~BSocketAddress () | |
BError | set (SockAddr *address, int len) |
const SockAddr * | raw () const |
int | len () const |
BString | getString () const |
Return string version of address <ip>:<port> More... | |
BSocketAddress & | operator= (const BSocketAddress &add) |
operator const SockAddr * () const | |
int | operator== (const BSocketAddress &add) const |
int | operator!= (const BSocketAddress &add) const |
Private Attributes | |
int | olen |
SockAddr * | oaddress |
Detailed Description
Socket Address.
Member Typedef Documentation
◆ SockAddr
typedef struct sockaddr BSocketAddress::SockAddr |
Constructor & Destructor Documentation
◆ BSocketAddress() [1/3]
BSocketAddress::BSocketAddress | ( | ) |
◆ BSocketAddress() [2/3]
BSocketAddress::BSocketAddress | ( | const BSocketAddress & | add | ) |
◆ BSocketAddress() [3/3]
BSocketAddress::BSocketAddress | ( | SockAddr * | address, |
int | len | ||
) |
◆ ~BSocketAddress()
BSocketAddress::~BSocketAddress | ( | ) |
Member Function Documentation
◆ getString()
BString BSocketAddress::getString | ( | ) | const |
Return string version of address <ip>:<port>
◆ len()
int BSocketAddress::len | ( | ) | const |
◆ operator const SockAddr *()
| inline |
◆ operator!=()
int BSocketAddress::operator!= | ( | const BSocketAddress & | add | ) | const |
◆ operator=()
BSocketAddress & BSocketAddress::operator= | ( | const BSocketAddress & | add | ) |
◆ operator==()
int BSocketAddress::operator== | ( | const BSocketAddress & | add | ) | const |
◆ raw()
const BSocketAddress::SockAddr * BSocketAddress::raw | ( | ) | const |
◆ set()
Member Data Documentation
◆ oaddress
| private |
◆ olen
| private |
The documentation for this class was generated from the following files:
Generated by 1.8.14