|
uHTTP for C++
|
#include <ServerSocket.h>
Public Member Functions | |
| ServerSocket () | |
| ~ServerSocket () | |
Public Member Functions inherited from uHTTP::Socket | |
| Socket () | |
| ~Socket () | |
| bool | listen () |
| bool | bind (int port, const std::string &addr) |
| bool | accept (Socket *socket) |
| bool | connect (const std::string &addr, int port) |
| ssize_t | send (const char *cmd, size_t cmdLen) |
| ssize_t | send (const std::string &cmd) |
| ssize_t | send (const char c) |
| ssize_t | recv (char *buffer, size_t bufferLen) |
Public Member Functions inherited from uHTTP::SocketCore | |
| SocketCore () | |
| virtual | ~SocketCore () |
| void | setSocket (SOCKET value) |
| SOCKET | getSocket () |
| bool | isBound () |
| bool | close () |
| void | setLocalAddress (const std::string &addr) |
| const char * | getLocalAddress () |
| void | setLocalPort (int port) |
| int | getLocalPort () |
| int | getType () |
| int | getErrorCode () const |
| bool | setReuseAddress (bool on) |
| bool | setTimeout (time_t timeout) |
Additional Inherited Members | |
Static Public Member Functions inherited from uHTTP::SocketCore | |
| static size_t | GetInstanceCount () |
| static SocketList * | GetInstanceList () |
Static Public Attributes inherited from uHTTP::SocketCore | |
| static const int | STREAM |
| static const int | DGRAM |
Protected Member Functions inherited from uHTTP::SocketCore | |
| void | setType (int value) |
| void | setErrorCode (int code) |
Protected Attributes inherited from uHTTP::SocketCore | |
| SOCKET | sock |
| uHTTP::ServerSocket::ServerSocket | ( | ) |
| uHTTP::ServerSocket::~ServerSocket | ( | ) |