#include <platform.h>
|
virtual | ~Socket () |
|
virtual bool | Bind (const int port)=0 |
|
virtual bool | Listen (int backlog) const =0 |
|
virtual Socket * | Accept () const =0 |
|
virtual bool | Connect (const char *host, const char *port)=0 |
|
virtual bool | Shutdown ()=0 |
|
virtual int | Send (const char *data, int len) const =0 |
|
virtual int | Receive (char *data, int len) const =0 |
|
virtual bool | SetReuseAddress (bool reuse_address)=0 |
|
virtual bool | IsValid () const =0 |
|
|
static bool | SetUp () |
|
static int | LastError () |
|
static uint16_t | HToN (uint16_t value) |
|
static uint16_t | NToH (uint16_t value) |
|
static uint32_t | HToN (uint32_t value) |
|
static uint32_t | NToH (uint32_t value) |
|
Definition at line 638 of file platform.h.
virtual Socket* Accept |
( |
| ) |
const |
|
pure virtual |
virtual bool Bind |
( |
const int |
port | ) |
|
|
pure virtual |
virtual bool Connect |
( |
const char * |
host, |
|
|
const char * |
port |
|
) |
| |
|
pure virtual |
uint16_t HToN |
( |
uint16_t |
value | ) |
|
|
static |
uint32_t HToN |
( |
uint32_t |
value | ) |
|
|
static |
virtual bool IsValid |
( |
| ) |
const |
|
pure virtual |
virtual bool Listen |
( |
int |
backlog | ) |
const |
|
pure virtual |
uint16_t NToH |
( |
uint16_t |
value | ) |
|
|
static |
uint32_t NToH |
( |
uint32_t |
value | ) |
|
|
static |
virtual int Receive |
( |
char * |
data, |
|
|
int |
len |
|
) |
| const |
|
pure virtual |
virtual int Send |
( |
const char * |
data, |
|
|
int |
len |
|
) |
| const |
|
pure virtual |
virtual bool SetReuseAddress |
( |
bool |
reuse_address | ) |
|
|
pure virtual |
virtual bool Shutdown |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: