skstream
|
Base class for anything that encapsulates a listen socket. More...
#include <skserver.h>
Public Member Functions | |
virtual SOCKET_TYPE | getSocket () const |
void | close () |
void | shutdown () |
bool | can_accept () |
See if accept() can be called without blocking on it. | |
![]() | |
int | getLastError () const |
void | copyLastError (const basic_socket &other) |
bool | is_open () const |
Static Public Attributes | |
static const int | SK_SRV_NONE = 0 |
static const int | SK_SRV_PURE = 1 << 0 |
static const int | SK_SRV_REUSE = 1 << 1 |
Protected Member Functions | |
basic_socket_server (SOCKET_TYPE _sock=INVALID_SOCKET, int flags=SK_SRV_NONE) | |
![]() | |
void | setLastError () const |
Protected Attributes | |
SOCKET_TYPE | _socket |
int | _flags |
![]() | |
int | LastError |
Private Member Functions | |
basic_socket_server (const basic_socket_server &) | |
basic_socket_server & | operator= (const basic_socket_server &) |
Additional Inherited Members | |
![]() | |
static bool | startup () |
Base class for anything that encapsulates a listen socket.
This software package has been extensively modified by members of the Worldforge Project. See the file ChangeLog for details.
$Id$