#include <pnSocket.h>
Static Public Member Functions |
static unsigned long | GetAddress (const char *addrName) |
Constructor & Destructor Documentation
pnSocket::pnSocket |
( |
int |
handle | ) |
|
virtual pnSocket::~pnSocket |
( |
| ) |
|
|
virtual |
Member Function Documentation
bool pnSocket::bind |
( |
unsigned short |
port | ) |
|
void pnSocket::close |
( |
bool |
force = false | ) |
|
bool pnSocket::connect |
( |
const char * |
address, |
|
|
unsigned short |
port |
|
) |
| |
static unsigned long pnSocket::GetAddress |
( |
const char * |
addrName | ) |
|
|
static |
int pnSocket::getHandle |
( |
| ) |
const |
plString pnSocket::getRemoteIpStr |
( |
| ) |
const |
bool pnSocket::isConnected |
( |
| ) |
const |
void pnSocket::link |
( |
int |
handle | ) |
|
pnSocket* pnSocket::listen |
( |
int |
backlog | ) |
|
virtual long pnSocket::peek |
( |
void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
virtual long pnSocket::recv |
( |
void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
plString pnSocket::recvString |
( |
size_t |
maxlen | ) |
|
virtual long pnSocket::send |
( |
const void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
void pnSocket::unlink |
( |
| ) |
|
bool pnSocket::waitForData |
( |
unsigned int |
utimeout = 500000 | ) |
|
Member Data Documentation
bool pnSocket::fConnected |
|
protected |
int pnSocket::fSockHandle |
|
protected |
The documentation for this class was generated from the following file: