#include <socket.hxx>
Inheritance diagram for xyzzy::TSocket:
Public Types | |
typedef PTRcObjPtr< Connection > | TRcConnection |
Public Member Functions | |
virtual | ~TSocket () |
Static Public Attributes | |
static const size_t | cDfltSz = 1024 |
Protected Member Functions | |
TSocket (u_int16_t port, string naddr="127.0.0.1") throw (Exception) | |
Protected Attributes | |
const u_int16_t | m_port |
const string | m_addr |
int | m_sockId |
sockaddr_in | m_sockAddr |
Private Member Functions | |
void | init () throw (Exception) |
Classes | |
class | Connection |
class | Exception |
xyzzy::TSocket::~TSocket | ( | ) | [virtual] |
xyzzy::TSocket::TSocket | ( | u_int16_t | port, | |
string | naddr = "127.0.0.1" | |||
) | throw (Exception) [explicit, protected] |
void xyzzy::TSocket::init | ( | ) | throw (Exception) [private] |
const size_t xyzzy::TSocket::cDfltSz = 1024 [static] |
const u_int16_t xyzzy::TSocket::m_port [protected] |
const string xyzzy::TSocket::m_addr [protected] |
int xyzzy::TSocket::m_sockId [protected] |
struct sockaddr_in xyzzy::TSocket::m_sockAddr [protected] |